-
+
@@ -80,6 +80,8 @@ const cascader_config = {
value: 'id',
label: 'name',
children: 'items',
+ multiple: true,
+ checkStrictly: true,
};
const init = () => {
template_selection.value = '';
@@ -180,4 +182,17 @@ const handle_select = (selection: any) => {
}
}
}
+// 输入框超出隐藏,不换行
+:deep(.el-cascader) {
+ height: 3.2rem;
+ .el-input {
+ height: 3.2rem;
+ }
+ .el-cascader__tags {
+ flex-wrap: nowrap !important;
+ }
+ .el-tag {
+ max-width: 10rem;
+ }
+}
diff --git a/src/components/model-tabs-magic/model-tabs-magic-styles.vue b/src/components/model-tabs-magic/model-tabs-magic-styles.vue
index 97eb3298..ba01fa87 100644
--- a/src/components/model-tabs-magic/model-tabs-magic-styles.vue
+++ b/src/components/model-tabs-magic/model-tabs-magic-styles.vue
@@ -94,12 +94,12 @@
- 未选样式
-
+ 未选颜色
+
- 选中样式
-
+ 选中颜色
+
选中背景
diff --git a/src/components/model-tabs/model-tabs-styles.vue b/src/components/model-tabs/model-tabs-styles.vue
index 6bf880a0..b4333a9f 100644
--- a/src/components/model-tabs/model-tabs-styles.vue
+++ b/src/components/model-tabs/model-tabs-styles.vue
@@ -96,12 +96,12 @@
- 未选样式
-
+ 未选颜色
+
- 选中样式
-
+ 选中颜色
+
选中背景