File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
nodes/base-node/component Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ const wheel = (e: any) => {
5151function 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 = () => {
8080defineExpose ({ validate })
8181onMounted (() => {
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 >
Original file line number Diff line number Diff 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 ) => {
Original file line number Diff line number Diff 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 ) => {
You can’t perform that action at this time.
0 commit comments