mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-17 00:44:35 +08:00
编排新增选择列表组件
This commit is contained in:
@@ -60,7 +60,10 @@ export const SystemCommandEditor = defineAsyncComponent(() =>
|
||||
import("components/composer/system/SystemCommandEditor.vue")
|
||||
);
|
||||
|
||||
|
||||
export const ZlibEditor = defineAsyncComponent(() =>
|
||||
import("src/components/composer/data/ZlibEditor.vue")
|
||||
);
|
||||
|
||||
export const SelectListEditor = defineAsyncComponent(() =>
|
||||
import("components/composer/ui/SelectListEditor.vue")
|
||||
);
|
||||
|
||||
@@ -548,7 +548,7 @@ export const dataCommands = {
|
||||
icon: "merge",
|
||||
config: [
|
||||
{
|
||||
label: "Buffer列表",
|
||||
label: "Buffer",
|
||||
type: "arrayEditor",
|
||||
icon: "memory",
|
||||
width: 12,
|
||||
|
||||
@@ -6,7 +6,7 @@ import { dataCommands } from "./dataCommands";
|
||||
import { otherCommands } from "./otherCommands";
|
||||
import { simulateCommands } from "./simulateCommands";
|
||||
import { controlCommands } from "./controlCommands";
|
||||
import { uiCommands } from "./uiCommand";
|
||||
import { uiCommands } from "./uiCommands";
|
||||
|
||||
export const commandCategories = [
|
||||
fileCommands,
|
||||
|
||||
@@ -68,5 +68,12 @@ export const uiCommands = {
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
value: "quickcommand.showSelectList",
|
||||
label: "选择列表",
|
||||
desc: "显示一个支持搜索的选项列表,可以动态更新选项",
|
||||
component: "SelectListEditor",
|
||||
isAsync: true,
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user