Explorar el Código

更新 select逻辑

王智慧 hace 3 años
padre
commit
3db48551e7
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/views/shipSecurityManage/checkShip.vue

+ 3 - 0
src/views/shipSecurityManage/checkShip.vue

@@ -136,6 +136,9 @@ let templateDetail = ref({
   items: [],
 });
 async function getSecurityTemplateDetail(id) {
+  shipSelect.value = [];
+  ships.value = [];
+  shipIndex.value = 0;
   let { data } = await api.getSecurityTemplateDetail({
     id,
   });