This commit is contained in:
qsh
2023-03-23 01:24:43 +08:00
parent 553cdd3657
commit c7a6210195
12 changed files with 307 additions and 7 deletions

View File

@@ -82,8 +82,6 @@ export default {
}
::v-deep .el-checkbox__label {
padding-left: 0;
font-size: 16px;
line-height: 16px;
color: rgba($color: #000000, $alpha: 0.6);
}
}

View File

@@ -51,7 +51,7 @@ export default {
watch: {
value: {
handler(val) {
this.modelValue = val || '全部';
this.modelValue = val === undefined ? '全部' : val;
},
deep: true,
immediate: true
@@ -90,8 +90,8 @@ export default {
}
::v-deep .el-radio__label {
padding-left: 0;
font-size: 16px;
line-height: 16px;
font-size: 14px;
line-height: 14px;
color: rgba($color: #000000, $alpha: 0.6);
}
}

View File

@@ -80,6 +80,7 @@ export default {
// eslint-disable-next-line vue/no-mutating-props
this.columns[item].visible = !data.includes(key);
}
localStorage.setItem(`${this.$route.name}-table-columns`, JSON.stringify(this.columns));
},
// 打开显隐列dialog
showColumn() {