This commit is contained in:
ln1778 2024-09-11 13:59:29 +08:00
parent 9e3d766d80
commit bf0006367b
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "ag-element-ui",
"version": "0.1.0",
"version": "0.1.1",
"main": "lib/ag-element-ui.common.js",
"scripts": {
"dev": "vue-cli-service serve",

View File

@ -139,7 +139,7 @@ export default {
let newselectValue=newVal[0];
const find=this.options.find((f)=>f.value==newselectValue);
if(find){
let fontwidth=this.getStringWidth(find?.label);
let fontwidth=this.getStringWidth(find.label);
this.swidth=fontwidth>165?165:fontwidth;
}