Browse Source

保存后刷新 2022年12月13日 sxm

master
[li_she] 3 years ago
parent
commit
e94699f1e2
  1. 2
      config/index.js
  2. 3
      src/views/main-navbar.vue

2
config/index.js

@ -13,7 +13,7 @@ module.exports = {
// 代理列表, 是否开启代理通过[./dev.env.js]配置
proxyTable: devEnv.OPEN_PROXY === false ? {} : {
'/proxyApi': {
target: 'http://192.168.1.83:9091',
target: 'http://127.0.0.1:9090',
changeOrigin: true,
pathRewrite: {
// 把 /proxyApi 替换成 /

3
src/views/main-navbar.vue

@ -105,6 +105,7 @@ import {
} from '@/api/purchaseorder/procurementReview.js'
export default {
inject: ['refresh'],
data() {
return {
visible: false,
@ -278,7 +279,7 @@ export default {
},
getTableUserColumn() {
this.$nextTick(() => {
this.$router.go(0)
this.refresh()
})
},
//

Loading…
Cancel
Save