添加帮助文档

This commit is contained in:
fofolee 2023-08-07 21:13:18 +08:00
parent 62a9bb01d1
commit 3b15b0ae9d

View File

@ -38,9 +38,17 @@
<div class="self-center full-width no-outline" tabindex="0"> <div class="self-center full-width no-outline" tabindex="0">
{{ {{
currentCommand.features.mainPush currentCommand.features.mainPush
? "主搜索框直接执行" ? "主搜索框执行"
: "进插件后执行" : "进插件后执行"
}} }}
<q-btn
flat
round
icon="help_outline"
size="sm"
dense
@click="showMainPushHelp"
></q-btn>
</div> </div>
</template> </template>
<template v-slot:prepend> <template v-slot:prepend>
@ -50,7 +58,8 @@
<q-toggle <q-toggle
v-model="currentCommand.features.mainPush" v-model="currentCommand.features.mainPush"
color="primary" color="primary"
size="xs" size="md"
dense
/> />
</template> </template>
</q-field> </q-field>
@ -440,6 +449,9 @@ export default {
if (!text) return; if (!text) return;
this.$parent.$refs.editor.repacleEditorSelection(`'${text}'`); this.$parent.$refs.editor.repacleEditorSelection(`'${text}'`);
}, },
showMainPushHelp() {
window.showUb.help("#u0e9f1430");
},
// //
SaveMenuData() { SaveMenuData() {
let updateData = { let updateData = {