Skip to content

Commit 9d72d29

Browse files
committed
列表样式及打包优化
1 parent ddd7793 commit 9d72d29

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/views/template/content/List.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,4 +290,5 @@ export default defineComponent({
290290
.cell{
291291
.el-button{ margin: 3px;}
292292
}
293+
.el-dropdown-menu{ max-height: 260px;}
293294
</style>

vue.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ module.exports = {
2828
config.optimization.minimize(true);
2929
config.optimization.splitChunks({
3030
chunks: 'all',
31+
maxSize: 300000,
3132
cacheGroups: {
3233
vendors: { //vendor 是导入的第三方依赖包
3334
name: 'chunk-vendors',
3435
test: /[\\/]node_modules[\\/]/,
3536
chunks: 'initial',
36-
maxSize: 300000,
3737
priority: 1 //优先级:数字越大优先级越高
3838
},
3939
elementPlus: {

0 commit comments

Comments
 (0)