mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-08 22:51:25 +08:00
进入插件自动聚焦搜索
This commit is contained in:
parent
48dda1ddef
commit
b0d06875b3
@ -283,6 +283,18 @@
|
|||||||
</q-card>
|
</q-card>
|
||||||
</q-menu>
|
</q-menu>
|
||||||
</q-item>
|
</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-list>
|
||||||
</q-menu>
|
</q-menu>
|
||||||
</q-item>
|
</q-item>
|
||||||
|
@ -3,6 +3,7 @@ export default {
|
|||||||
primaryColor: "#009688",
|
primaryColor: "#009688",
|
||||||
defaultPrimaryColor: "#009688",
|
defaultPrimaryColor: "#009688",
|
||||||
backgroundImg: null,
|
backgroundImg: null,
|
||||||
|
autofocusSearch: false,
|
||||||
crontabs: {},
|
crontabs: {},
|
||||||
quickFeatures: {
|
quickFeatures: {
|
||||||
favFile: {
|
favFile: {
|
||||||
|
@ -103,6 +103,7 @@
|
|||||||
filled
|
filled
|
||||||
dense
|
dense
|
||||||
clearable
|
clearable
|
||||||
|
:autofocus="$root.profile.autofocusSearch"
|
||||||
clear-icon="close"
|
clear-icon="close"
|
||||||
@update:model-value="updateSearch"
|
@update:model-value="updateSearch"
|
||||||
placeholder="搜索,支持拼音首字母"
|
placeholder="搜索,支持拼音首字母"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user