liunan #10
|
@ -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",
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue