John Chiang

Results 3 comments of 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`, } } } } })` ` `

![image](https://user-images.githubusercontent.com/20299172/137894897-5e421125-06cb-4373-9ad4-c1e70d236371.png) 试了一下,没法复现···

> @John-Soul 你参数不对,按照我截图的代码,可以看到两个都是mini,但第二个框明显大很多 初始情况下确实加了多选的级联选择器比不加的高了6px,el-input__inner多了行内样式height:34px, 这个高度是为了给选中元素调整输入框的高度。 但是如果针对增加多选的级联选择器还原高度为28px,则会出现如下情况: ![image](https://user-images.githubusercontent.com/20299172/139034044-28052efa-cfb8-48e6-9159-dc9edc746b87.png) ![image](https://user-images.githubusercontent.com/20299172/139033979-2c540741-c0d2-4d64-acd1-fe708eb08ee9.png) (不过既然是多选,那势必会增加高度,感觉在实际使用中还是无解,只是解决了初始化时尺寸统一。)