Explorar o código

提交测试

1
mo %!s(int64=4) %!d(string=hai) anos
pai
achega
9a983eff52

+ 1 - 1
src/views/main/baseinfo/business.vue

@@ -181,7 +181,7 @@ export default {
     },
     },
     async FetchDetail() {
     async FetchDetail() {
       this.loading = true;
       this.loading = true;
-      const data = this.data;
+      let data = [];
       try {
       try {
         const { dates, ...rest } = this.search;
         const { dates, ...rest } = this.search;
         const res = await getIndex({
         const res = await getIndex({

+ 1 - 1
src/views/main/baseinfo/index.vue

@@ -221,7 +221,7 @@ export default {
       }
       }
     },
     },
     resetDate(data) {
     resetDate(data) {
-      this.dataInfo = data;
+      this.dataInfo = {...this.dataInfo,...data};
     },
     },
   },
   },
 };
 };

+ 1 - 1
src/views/main/baseinfo/management.vue

@@ -225,7 +225,7 @@ export default {
     },
     },
     async FetchDetail() {
     async FetchDetail() {
       this.loading = true;
       this.loading = true;
-      const data = this.data;
+      let data = [];
       try {
       try {
         const { dates, ...rest } = this.search;
         const { dates, ...rest } = this.search;
         const res = await getIndex({
         const res = await getIndex({