Skip to content

Commit f8c6567

Browse files
author
Taois
committed
feat:移除多余的组件
1 parent dd7bf7d commit f8c6567

File tree

6 files changed

+62
-1490
lines changed

6 files changed

+62
-1490
lines changed

dashboard/src/components/actions/ActionRenderer.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ import { showToast } from '@/stores/toast.js'
7070
const InputAction = defineAsyncComponent(() => import('./InputAction.vue'))
7171
const MultiInputAction = defineAsyncComponent(() => import('./MultiInputAction.vue'))
7272
const MenuAction = defineAsyncComponent(() => import('./MenuAction.vue'))
73-
const SelectAction = defineAsyncComponent(() => import('./SelectAction.vue'))
73+
7474
const MsgBoxAction = defineAsyncComponent(() => import('./MsgBoxAction.vue'))
7575
const WebViewAction = defineAsyncComponent(() => import('./WebViewAction.vue'))
7676
const HelpAction = defineAsyncComponent(() => import('./HelpAction.vue'))
@@ -82,7 +82,6 @@ export default {
8282
InputAction,
8383
MultiInputAction,
8484
MenuAction,
85-
SelectAction,
8685
MsgBoxAction,
8786
WebViewAction,
8887
HelpAction

dashboard/src/components/actions/ActionStateManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ class ActionStateManager {
399399
// 支持 option 和 options 两种字段名称
400400
const optionList = config.option || config.options
401401
if (!optionList || !Array.isArray(optionList) || optionList.length === 0) {
402-
throw new Error('MenuAction/SelectAction必须包含选项列表')
402+
throw new Error('MenuAction必须包含选项列表')
403403
}
404404
break
405405

0 commit comments

Comments
 (0)