From 0c25c114d0f69fc7b9c1736069aea4ee8ac51901 Mon Sep 17 00:00:00 2001 From: aixianling Date: Tue, 19 Apr 2022 09:48:30 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E7=BB=91=E5=AD=97=E5=85=B8=E5=B7=A5?= =?UTF-8?q?=E5=85=B7=E7=B1=BB=E5=92=8Cvuex=E7=9A=84=E5=BC=BA=E7=BB=91?= =?UTF-8?q?=E5=AE=9A,=E5=AD=97=E5=85=B8=E7=B1=BB=E5=8F=AF=E5=8D=95?= =?UTF-8?q?=E7=8B=AC=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/main.js | 1 - packages/meta/AppResident/AppResident.vue | 20 +----------- .../AppResident/components/AiEditCard.vue | 32 +++++++++++++++++++ 3 files changed, 33 insertions(+), 20 deletions(-) create mode 100644 packages/meta/AppResident/components/AiEditCard.vue diff --git a/examples/main.js b/examples/main.js index 1772d983..08b4bf8d 100644 --- a/examples/main.js +++ b/examples/main.js @@ -18,7 +18,6 @@ Vue.config.productionTip = false; Vue.prototype.$axios = axios; Vue.prototype.formatContent = (val) => val.replace(/(\r\n)|(\n)/g, '
'); Object.keys(utils).map((e) => (Vue.prototype[e] = utils[e])); -utils.$store.init(store); new Vue({ router, store, diff --git a/packages/meta/AppResident/AppResident.vue b/packages/meta/AppResident/AppResident.vue index 4bc6f930..3332461e 100644 --- a/packages/meta/AppResident/AppResident.vue +++ b/packages/meta/AppResident/AppResident.vue @@ -77,25 +77,7 @@ export default { this.activeName = this.$route.query?.type this.areaId = JSON.parse(JSON.stringify(this.user.info.areaId)) this.dict.load('residentType', "sex", "faithType", "fileStatus", - "legality", - "education", - "maritalStatus", - "politicsStatus", - "householdName", - "nation", - "liveReason", - "certificateType", - "job", - "militaryStatus", - "householdRelation", - "logoutReason", - "nation", - "registerStatus", - "residentTipType", - "liveCategory", - "livePeriod", - "language", - "nationality"); + "legality", "education", "maritalStatus", "politicsStatus", "householdName", "nation", "liveReason", "certificateType", "job", "militaryStatus", "householdRelation", "logoutReason", "nation", "registerStatus", "residentTipType", "liveCategory", "livePeriod", "language", "nationality"); }, } diff --git a/packages/meta/AppResident/components/AiEditCard.vue b/packages/meta/AppResident/components/AiEditCard.vue new file mode 100644 index 00000000..adff852e --- /dev/null +++ b/packages/meta/AppResident/components/AiEditCard.vue @@ -0,0 +1,32 @@ + + + + +