浏览代码

慢病指标返回bug修改

zhouna 6 年之前
父节点
当前提交
5a232bf7c9
共有 1 个文件被更改,包括 5 次插入2 次删除
  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);
     })