Explorar el Código

feat:actions更改属性

ananzhusen hace 8 meses
padre
commit
facf1bfe6f
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      src/views/components/Actions.vue

+ 5 - 1
src/views/components/Actions.vue

@@ -837,6 +837,10 @@ let cprops = [
   {
     value: 'selectedKey',
     label: '单选选中值',
+  },
+  {
+    value: 'iframe',
+    label: '网页地址',
   }
 ];
 
@@ -915,7 +919,7 @@ const onAddValue = (action: any, data: any) => {
 };
 
 const valueChange = (e,aValue:any,key:any)=>{
-  aValue[key] = changeType(e)||"";
+  aValue[key] = changeType(e)??"";
 }
 
 const codeChange = (e:any,a:any)=>{