From 3087ca7ae9ec8a5b3986efdf7a0b9c04b78a51db Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Sat, 6 May 2023 10:52:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=85=E6=B0=91=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/fengdu/app/AppResidentInfo/components/Add.vue | 3 +-- vue.config.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/project/fengdu/app/AppResidentInfo/components/Add.vue b/project/fengdu/app/AppResidentInfo/components/Add.vue index 0332add2..36fed955 100644 --- a/project/fengdu/app/AppResidentInfo/components/Add.vue +++ b/project/fengdu/app/AppResidentInfo/components/Add.vue @@ -597,8 +597,7 @@ export default { this.disabledLevel = this.user.info.areaMap[this.user.info.areaId].length; if (!this.params.id) { // this.baseInfo.householdAreaId = JSON.parse(JSON.stringify(this.user.info.areaId)) - this.baseInfo.currentAreaId = JSON.parse(JSON.stringify(this.user.info.areaId)) - this.$nextTick(() => this.$refs.ruleForm?.resetFields()) + this.baseInfo.currentAreaId = this.user.info.areaId } else { this.getDetail(this.params.id); } diff --git a/vue.config.js b/vue.config.js index d8b191c5..0380fc7e 100644 --- a/vue.config.js +++ b/vue.config.js @@ -38,7 +38,7 @@ module.exports = { proxy: { //设置代理,可解决跨5 '/lan': { - target: 'http://192.168.1.87:12001', + target: 'http://192.168.1.87:9000', changeOrigin: true, pathRewrite: { //地址重写