Commit 3a0f2f83 authored by 黄奎's avatar 黄奎
parents 10f8db20 44329709
...@@ -85,7 +85,8 @@ ...@@ -85,7 +85,8 @@
export default { export default {
provide() { provide() {
return { return {
loadConfigInfo: this.firstLoadConfigInfo loadConfigInfo: this.firstLoadConfigInfo,
reload:this.reload
} }
}, },
data() { data() {
...@@ -821,7 +822,12 @@ ...@@ -821,7 +822,12 @@
updated: function () { updated: function () {
this.MsgBus.$emit('FeatureDataFlag'); this.MsgBus.$emit('FeatureDataFlag');
}, },
watch: {}, watch: {
// 方法1
'$route' (to, from) { //监听路由是否变化
location.reload()
},
},
mounted() { mounted() {
this.ScrollMethod(); this.ScrollMethod();
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment