添加了注册的搜索和档案的我还会说禁止选择
This commit is contained in:
@@ -119,6 +119,7 @@
|
||||
index) in chiveslist[1]"
|
||||
:key="index"
|
||||
:value="item.name"
|
||||
:disabled="isdisabled(item.name)"
|
||||
>
|
||||
{{ item.name }}
|
||||
</a-select-option>
|
||||
@@ -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
|
||||
};
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user