Jelajahi Sumber

优化 warning提示信息

wzh 4 tahun lalu
induk
melakukan
b9b2a129ff
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      src/views/shipInfo/shipDetail.vue

+ 2 - 2
src/views/shipInfo/shipDetail.vue

@@ -409,7 +409,7 @@ export default {
     let currentPage = ref(1);
     let term = ref();
     let tableData = ref();
-    let total = ref();
+    let total = ref(0);
     let status = ref(1);
     async function getVoyageList() {
       tableData.value = [];
@@ -587,7 +587,7 @@ export default {
     let shipCurrentPage = ref(1);
     let shipOwnerTableData = ref([]);
     let shipOwnerCurrentPage = ref(1);
-    let shipOwnerTotal = ref();
+    let shipOwnerTotal = ref(0);
 
     async function getShipOwnerListByShipId() {
       let res = await api.getShipOwnerListByShipId({