Browse Source

消除bug

wangqin
hui 1 year ago
parent
commit
bf07873b4d
  1. 0
      ruoyi-ui/src/common/getBoardBaseData.js
  2. 4
      ruoyi-ui/src/main.js
  3. 3
      ruoyi-ui/src/views/JiHeExpressway/index.vue
  4. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/service/board/testData/template.js

0
ruoyi-ui/src/common/boardBaseData.js → ruoyi-ui/src/common/getBoardBaseData.js

4
ruoyi-ui/src/main.js

@ -90,8 +90,8 @@ Vue.prototype.handleTree = handleTree
Vue.prototype.socket = Socket Vue.prototype.socket = Socket
Vue.prototype.numberMul = numberMul Vue.prototype.numberMul = numberMul
import boardBaseData from '@/common/boardBaseData' import getBoardBaseData from '@/common/getBoardBaseData'
boardBaseData(); Vue.prototype.getBoardBaseData = getBoardBaseData;
// gis // gis
Vue.prototype.$GlobalConfig = config.GlobalConfig Vue.prototype.$GlobalConfig = config.GlobalConfig

3
ruoyi-ui/src/views/JiHeExpressway/index.vue

@ -24,6 +24,9 @@ export default {
return { return {
}; };
}, },
mounted(){
this.getBoardBaseData();
},
methods: { methods: {
handleChange(activeMenu) { handleChange(activeMenu) {
this.$route.path != activeMenu.path && this.$router.push(activeMenu.path); this.$route.path != activeMenu.path && this.$router.push(activeMenu.path);

4
ruoyi-ui/src/views/JiHeExpressway/pages/service/board/testData/template.js

@ -1,4 +1,5 @@
export default [ export default {
"0": [
{ {
"id": 3, "id": 3,
"category": "0", "category": "0",
@ -162,3 +163,4 @@ export default [
"updateTime": null "updateTime": null
} }
] ]
}
Loading…
Cancel
Save