问题修复

lijinlong^2
许宏杰 1 year ago
parent adc50ddbca
commit d3221745c3

@ -11,7 +11,7 @@ ENV = 'development'
# VUE_APP_BASE_API = 'http://39.101.188.84:9027' # VUE_APP_BASE_API = 'http://39.101.188.84:9027'
#局域网 #局域网
VUE_APP_BASE_API = 'http://39.101.188.84:9027' VUE_APP_BASE_API = 'http://192.168.0.108:9027'
# 路由懒加载 # 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true VUE_CLI_BABEL_TRANSPILE_MODULES = true

@ -467,6 +467,23 @@ export default {
rules: {}, rules: {},
}; };
}, },
watch: {
$route: {
// $route
handler(to, from) {
// console.log(to, from);
if (to.name == "DataSource") {
//type 5,6
} else if (to.name == "Jgdw") {
// type5
} else if (to.name == "Webjc") {
// type6
}
},
deep: true, //
immediate: true, //
},
},
created() { created() {
// // // //
this.$nextTick(() => { this.$nextTick(() => {

Loading…
Cancel
Save