This commit is contained in:
ln1778 2024-09-13 11:23:27 +08:00
parent 8565ddb5a3
commit 57ef27b43d
1 changed files with 4 additions and 2 deletions

View File

@ -44,7 +44,7 @@ export default {
data() { data() {
return { return {
values: [null, []], values: [null, []],
swidth:90, swidth:100,
inputValue:"", inputValue:"",
selectvalue:"", selectvalue:"",
imeipopover:false, imeipopover:false,
@ -66,7 +66,9 @@ export default {
if(find){ if(find){
let fontwidth=this.getStringWidth(find.label); let fontwidth=this.getStringWidth(find.label);
this.swidth=fontwidth>165?165:fontwidth; this.swidth=fontwidth>165?165:fontwidth;
} }else{
this.swidth=100;
}
}, },
immediate: true, immediate: true,