Explorar o código

慢病指标返回bug修改

zhouna %!s(int64=6) %!d(string=hai) anos
pai
achega
5a232bf7c9
Modificáronse 1 ficheiros con 5 adicións e 2 borrados
  1. 5 2
      src/components/icss/ChronicAndIndexRelation.vue

+ 5 - 2
src/components/icss/ChronicAndIndexRelation.vue

@@ -105,8 +105,10 @@ export default {
         }
     },
     created() {
-        this.getDataList()
-        
+      const that = this;
+      setTimeout(function(){
+        that.getDataList();
+      });
     },
   watch: {
     'filter': {
@@ -118,6 +120,7 @@ export default {
   },
   beforeRouteEnter(to, from, next) {
     next(vm => {
+      console.log(to.params)
       //const pm = to.param;
       Object.assign(vm, to.params);
     })