tangning 1 year ago
parent
commit
631f6b53f8
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/productOperation/modal/PowersModal.vue

+ 3 - 1
src/views/productOperation/modal/PowersModal.vue

@@ -67,6 +67,7 @@
     setup(props, { emit }) {
       const modelRef = ref({});
       const numRef = ref(null);
+      const type = ref(0)
       const fileFlow = reactive({
         showList: true,
       });
@@ -130,7 +131,7 @@
         immediate: false,
         searchInfo: {
           num: numRef,
-          // type: fileFlow.showList,
+          authType: type,
         },
         // afterFetch: (T) => {
         //   let { authType } = getRawDataSource();
@@ -163,6 +164,7 @@
               { label: '公开浏览', value: 1 },
             ],
             onChange: (value) => {
+              type.value = value.target.value;
               fileFlow.showList = value.target.value ? false : true;
               reload();
             },