John Chiang
John Chiang
try this. `createHtmlPlugin({ minify: hasBuild, entry: `src/views/${project[projectName].viewsPath}/main.js`, template: 'index.html', inject: { data: { htmlData: { options: { appCode: project[projectName].appCode, mainJs: `./src/views/${project[projectName].viewsPath}/main.js`, } } } } })` ` `
 试了一下,没法复现···
> @John-Soul 你参数不对,按照我截图的代码,可以看到两个都是mini,但第二个框明显大很多 初始情况下确实加了多选的级联选择器比不加的高了6px,el-input__inner多了行内样式height:34px, 这个高度是为了给选中元素调整输入框的高度。 但是如果针对增加多选的级联选择器还原高度为28px,则会出现如下情况:   (不过既然是多选,那势必会增加高度,感觉在实际使用中还是无解,只是解决了初始化时尺寸统一。)