Explorar el Código

feat:选择完成

ananzhusen hace 3 semanas
padre
commit
17ba5f6115
Se han modificado 1 ficheros con 7 adiciones y 1 borrados
  1. 7 1
      src/views/components/PenEvents.vue

+ 7 - 1
src/views/components/PenEvents.vue

@@ -166,7 +166,13 @@ const options: any = computed(() => {
       content: $t('输入'),
       divider: true,
     });
-  } else if (props.pen.input) {
+  } else if(['datePickerDom','dateRangePickerDom','treeFilterDom','cascadeFilterDom'].includes(props.pen.name)){
+    options.push({
+      value: 'change',
+      content: '选择完成',
+      divider: true,
+    });
+  }else if (props.pen.input) {
     options.push(
       ...[
         {