From e7b3f694b062b31e1a18b5593a789eb939f94644 Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Tue, 10 Nov 2020 10:58:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=E6=B3=A8=E5=86=8C?= =?UTF-8?q?=E7=9A=84=E6=90=9C=E7=B4=A2=E5=92=8C=E6=A1=A3=E6=A1=88=E7=9A=84?= =?UTF-8?q?=E6=88=91=E8=BF=98=E4=BC=9A=E8=AF=B4=E7=A6=81=E6=AD=A2=E9=80=89?= =?UTF-8?q?=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login/Sign.vue | 5 +++-- src/views/mine/Archives.vue | 15 ++++++++++++++- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/src/views/login/Sign.vue b/src/views/login/Sign.vue index 330a0e2..3c8c0de 100644 --- a/src/views/login/Sign.vue +++ b/src/views/login/Sign.vue @@ -23,16 +23,17 @@ > {{ i.name }}+{{ i.code }} diff --git a/src/views/mine/Archives.vue b/src/views/mine/Archives.vue index db0c233..90868d9 100644 --- a/src/views/mine/Archives.vue +++ b/src/views/mine/Archives.vue @@ -119,6 +119,7 @@ index) in chiveslist[1]" :key="index" :value="item.name" + :disabled="isdisabled(item.name)" > {{ item.name }} @@ -929,8 +930,19 @@ export default defineComponent({ function choosewillsay(e?: any) { console.log(formData.value.willsayValue); + console.log(e); } + + function isdisabled(name: string){ + for(const i in formData.value.willsay){ + if(formData.value.willsay[i].name == name){ + return true; + }else{ + return false; + } + } + } function currencychange(e?: any) { console.log(e); @@ -994,7 +1006,8 @@ export default defineComponent({ showname, uploadspic, lan, - interestslist + interestslist, + isdisabled }; }, });