liunan #10

Merged
liunan merged 47 commits from liunan into master 2024-09-13 14:43:34 +08:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit bf0006367b - Show all commits

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;
}