diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index f0e5fbb..e3f0154 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -81,7 +81,7 @@ export default { vaildInterfacefn("cgstjyyjzpzp", "qdsgajjtjczdhqyylb", JSON.stringify({}), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway).then((value) => { this.$toast.clear(); let retData = JSON.parse(value); - if (retData.code == 200) { + if (retData.success && retData.code == 200) { this.hospitalList = retData.data; } }, err => { diff --git a/src/views/examProject.vue b/src/views/examProject.vue index ebc5018..acbdd39 100644 --- a/src/views/examProject.vue +++ b/src/views/examProject.vue @@ -1,340 +1,369 @@ diff --git a/vue.config.js b/vue.config.js index 86977b4..1c5f77f 100644 --- a/vue.config.js +++ b/vue.config.js @@ -8,7 +8,8 @@ module.exports = defineConfig({ proxy: { "/api": { //本地服务接口地址 - target: "http://192.168.1.3:8088", + // target: "http://192.168.1.3:8088", + target: "http://192.168.1.106", //远程演示服务地址,可用于直接启动项目 // target: 'https://saber.bladex.vip/api', ws: true,