This commit is contained in:
parent
9e3d766d80
commit
bf0006367b
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "ag-element-ui",
|
"name": "ag-element-ui",
|
||||||
"version": "0.1.0",
|
"version": "0.1.1",
|
||||||
"main": "lib/ag-element-ui.common.js",
|
"main": "lib/ag-element-ui.common.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vue-cli-service serve",
|
"dev": "vue-cli-service serve",
|
||||||
|
|
|
@ -139,7 +139,7 @@ export default {
|
||||||
let newselectValue=newVal[0];
|
let newselectValue=newVal[0];
|
||||||
const find=this.options.find((f)=>f.value==newselectValue);
|
const find=this.options.find((f)=>f.value==newselectValue);
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue