From b584a7c65e254b5e4e391f1a74b50e37b7bfa207 Mon Sep 17 00:00:00 2001 From: changtong <2540919286@qq.com> Date: Mon, 29 Sep 2025 17:56:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 8 ++++---- src/views/screen/county-screen.vue | 6 ++++++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/config/index.js b/config/index.js index b1bf80d..4313c98 100644 --- a/config/index.js +++ b/config/index.js @@ -12,16 +12,16 @@ module.exports = { assetsPublicPath: '/', proxyTable: { '/api': { - target: 'http://localhost:9990', - // target: 'http://60.255.186.185:9024/api', + // target: 'http://localhost:9990', + target: 'http://60.255.186.185:9024/api', changeOrigin: true, pathRewrite: { '^/api': '' } }, '/localImage': { - // target: 'http://60.255.186.185:9024/', - target: 'http://localhost:9990/', + target: 'http://60.255.186.185:9024/', + // target: 'http://localhost:9990/', changeOrigin: true, }, '/socket.io': { diff --git a/src/views/screen/county-screen.vue b/src/views/screen/county-screen.vue index 396ea86..00df8c8 100644 --- a/src/views/screen/county-screen.vue +++ b/src/views/screen/county-screen.vue @@ -451,6 +451,10 @@ export default { menuItem: "动态表单", url: "http://60.255.186.185:9024/cp-form/#/", }, + // { + // menuItem: "AR立体云", + // app: "ar", + // }, ], }, ], @@ -1171,6 +1175,8 @@ export default { } } else if (item.url) { window.open(item.url); + } else if (item.app) { + window.location.href = "myapp://" } }, goTown() {