ct-component-plus 0.0.15 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -36,6 +36,7 @@ const cascaderRef = ref(null);
|
|
|
36
36
|
const checkedText = ref("");
|
|
37
37
|
const propsShow = computed(() => {
|
|
38
38
|
return {
|
|
39
|
+
emitPath: false,
|
|
39
40
|
...(props.props || {}),
|
|
40
41
|
multiple: props.multiple || props.props?.multiple || false,
|
|
41
42
|
label: props.mapObj?.label || "label",
|
|
@@ -208,7 +208,8 @@ onMounted(() => {});
|
|
|
208
208
|
&:focus-within {
|
|
209
209
|
--ct-search-box-border-color: var(--ct-color-primary);
|
|
210
210
|
}
|
|
211
|
-
.el-input__wrapper
|
|
211
|
+
.el-input__wrapper,
|
|
212
|
+
.ct-year-select__wrapper {
|
|
212
213
|
--el-select-input-focus-border-color: var(
|
|
213
214
|
--ct-search-box-inner-border-color
|
|
214
215
|
);
|
|
@@ -59,7 +59,13 @@ export const useBarEcharts = (type, option, data) => {
|
|
|
59
59
|
{ deep: true, immediate: true }
|
|
60
60
|
);
|
|
61
61
|
// 灵活配置并入option
|
|
62
|
-
|
|
62
|
+
|
|
63
|
+
watch(() => option, (val) => {
|
|
64
|
+
objectMerge(barOption.value, option);
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
deep: true, immediate: true
|
|
68
|
+
})
|
|
63
69
|
return {
|
|
64
70
|
barOption,
|
|
65
71
|
itemTemplate
|
|
@@ -73,7 +73,12 @@ export const useLineEcharts = (type, option, data) => {
|
|
|
73
73
|
{ deep: true, immediate: true }
|
|
74
74
|
);
|
|
75
75
|
// 灵活配置并入option
|
|
76
|
-
|
|
76
|
+
watch(() => option, (val) => {
|
|
77
|
+
objectMerge(lineOption.value, option);
|
|
78
|
+
}, {
|
|
79
|
+
deep: true, immediate: true
|
|
80
|
+
})
|
|
81
|
+
|
|
77
82
|
return {
|
|
78
83
|
lineOption,
|
|
79
84
|
itemTemplate
|