mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-08 14:34:13 +08:00
进入插件自动聚焦搜索
This commit is contained in:
parent
48dda1ddef
commit
b0d06875b3
@ -283,6 +283,18 @@
|
||||
</q-card>
|
||||
</q-menu>
|
||||
</q-item>
|
||||
<q-item clickable :disable="!$refs.user.isVIP">
|
||||
<q-item-section side>
|
||||
<q-icon name="search" />
|
||||
</q-item-section>
|
||||
<q-item-section class="flex">自定聚焦搜索 </q-item-section>
|
||||
<q-tooltip>进入插件时自动聚焦搜索</q-tooltip>
|
||||
<q-item-section side
|
||||
><q-toggle
|
||||
v-model="$root.profile.autofocusSearch"
|
||||
color="primary"
|
||||
/></q-item-section>
|
||||
</q-item>
|
||||
</q-list>
|
||||
</q-menu>
|
||||
</q-item>
|
||||
|
@ -3,6 +3,7 @@ export default {
|
||||
primaryColor: "#009688",
|
||||
defaultPrimaryColor: "#009688",
|
||||
backgroundImg: null,
|
||||
autofocusSearch: false,
|
||||
crontabs: {},
|
||||
quickFeatures: {
|
||||
favFile: {
|
||||
|
@ -103,6 +103,7 @@
|
||||
filled
|
||||
dense
|
||||
clearable
|
||||
:autofocus="$root.profile.autofocusSearch"
|
||||
clear-icon="close"
|
||||
@update:model-value="updateSearch"
|
||||
placeholder="搜索,支持拼音首字母"
|
||||
|
Loading…
x
Reference in New Issue
Block a user