yufan 1 year ago
parent
commit
896de02278
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/packageManage/bookList.vue

+ 2 - 2
src/views/packageManage/bookList.vue

@@ -97,7 +97,7 @@
   const isShowBookList = ref<boolean>(true);
 
   const input_search_book = ref<string>('');
-  const selctType = ref('1');
+  const selctType = ref<number | string>('1');
 
   const bookeRef = ref();
   const bookDescRef = ref();
@@ -109,7 +109,7 @@
         const { data, code, msg } = res.data;
         if (code === 200) {
           bookType.value.push(...data);
-          bookeRef.value.refTYpe = '1';
+          bookeRef.value.refTYpe = selctType.value;
           bookeRef.value.getSubType();
         }
       })