编排新增选择列表组件

This commit is contained in:
fofolee
2025-01-08 00:54:51 +08:00
parent e23d3e5e11
commit f742e6f121
8 changed files with 398 additions and 19 deletions

View File

@@ -548,7 +548,7 @@ export const dataCommands = {
icon: "merge",
config: [
{
label: "Buffer列表",
label: "Buffer",
type: "arrayEditor",
icon: "memory",
width: 12,

View File

@@ -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,

View File

@@ -68,5 +68,12 @@ export const uiCommands = {
},
],
},
{
value: "quickcommand.showSelectList",
label: "选择列表",
desc: "显示一个支持搜索的选项列表,可以动态更新选项",
component: "SelectListEditor",
isAsync: true,
},
],
};