Browse Source

提交

master
changtong 3 months ago
parent
commit
b584a7c65e
  1. 8
      config/index.js
  2. 6
      src/views/screen/county-screen.vue

8
config/index.js

@ -12,16 +12,16 @@ module.exports = {
assetsPublicPath: '/', assetsPublicPath: '/',
proxyTable: { proxyTable: {
'/api': { '/api': {
target: 'http://localhost:9990', // target: 'http://localhost:9990',
// target: 'http://60.255.186.185:9024/api', target: 'http://60.255.186.185:9024/api',
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/api': '' '^/api': ''
} }
}, },
'/localImage': { '/localImage': {
// target: 'http://60.255.186.185:9024/', target: 'http://60.255.186.185:9024/',
target: 'http://localhost:9990/', // target: 'http://localhost:9990/',
changeOrigin: true, changeOrigin: true,
}, },
'/socket.io': { '/socket.io': {

6
src/views/screen/county-screen.vue

@ -451,6 +451,10 @@ export default {
menuItem: "动态表单", menuItem: "动态表单",
url: "http://60.255.186.185:9024/cp-form/#/", url: "http://60.255.186.185:9024/cp-form/#/",
}, },
// {
// menuItem: "AR",
// app: "ar",
// },
], ],
}, },
], ],
@ -1171,6 +1175,8 @@ export default {
} }
} else if (item.url) { } else if (item.url) {
window.open(item.url); window.open(item.url);
} else if (item.app) {
window.location.href = "myapp://"
} }
}, },
goTown() { goTown() {

Loading…
Cancel
Save