Explorar o código

更新 select逻辑

王智慧 %!s(int64=3) %!d(string=hai) anos
pai
achega
3db48551e7
Modificáronse 1 ficheiros con 3 adicións e 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,
   });