Skip to content

Commit ad29a0d

Browse files
fix: type bugs
1 parent a2e5180 commit ad29a0d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ui/src/workflow/common/NodeCascader.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const wheel = (e: any) => {
5151
function visibleChange(bool: boolean) {
5252
if (bool) {
5353
options.value = props.global
54-
? props.nodeModel.get_up_node_field_list(false, true).filter((v) => v.value === 'global')
54+
? props.nodeModel.get_up_node_field_list(false, true).filter((v: any) => v.value === 'global')
5555
: props.nodeModel.get_up_node_field_list(false, true)
5656
}
5757
}
@@ -80,7 +80,7 @@ const validate = () => {
8080
defineExpose({ validate })
8181
onMounted(() => {
8282
options.value = props.global
83-
? props.nodeModel.get_up_node_field_list(false, true).filter((v) => v.value === 'global')
83+
? props.nodeModel.get_up_node_field_list(false, true).filter((v: any) => v.value === 'global')
8484
: props.nodeModel.get_up_node_field_list(false, true)
8585
})
8686
</script>

ui/src/workflow/nodes/base-node/component/ApiInputFieldTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function onDragHandle() {
108108
const tbody = wrapper.querySelector('.el-table__body-wrapper tbody')
109109
if (!tbody) return
110110
// 初始化 Sortable
111-
Sortable.create(tbody, {
111+
Sortable.create(tbody as HTMLElement, {
112112
animation: 150,
113113
ghostClass: 'ghost-row',
114114
onEnd: (evt) => {

ui/src/workflow/nodes/base-node/component/UserInputFieldTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ function onDragHandle() {
192192
const tbody = wrapper.querySelector('.el-table__body-wrapper tbody')
193193
if (!tbody) return
194194
// 初始化 Sortable
195-
Sortable.create(tbody, {
195+
Sortable.create(tbody as HTMLElement, {
196196
animation: 150,
197197
ghostClass: 'ghost-row',
198198
onEnd: (evt) => {

0 commit comments

Comments
 (0)