ct-component-plus 2.2.14 → 2.2.15
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/README.md
CHANGED
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
:placeholder="startPlaceholder"
|
|
14
14
|
:disabled="disabled"
|
|
15
15
|
filterable
|
|
16
|
-
v-bind="
|
|
16
|
+
v-bind="selectEventList0"
|
|
17
17
|
>
|
|
18
18
|
<el-option
|
|
19
19
|
v-for="item in yearList"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
filterable
|
|
39
39
|
:disabled="disabled"
|
|
40
40
|
:filter-method="filterHandleE"
|
|
41
|
-
v-bind="
|
|
41
|
+
v-bind="selectEventList1"
|
|
42
42
|
>
|
|
43
43
|
<el-option
|
|
44
44
|
v-for="item in yearList"
|
|
@@ -187,6 +187,18 @@ const eventList1 = {
|
|
|
187
187
|
onFocus(value, 1);
|
|
188
188
|
},
|
|
189
189
|
};
|
|
190
|
+
const selectEventList0 = computed(() => {
|
|
191
|
+
return {
|
|
192
|
+
...(props.rawAttr || {}),
|
|
193
|
+
...eventList0,
|
|
194
|
+
};
|
|
195
|
+
});
|
|
196
|
+
const selectEventList1 = computed(() => {
|
|
197
|
+
return {
|
|
198
|
+
...(props.rawAttr || {}),
|
|
199
|
+
...eventList1,
|
|
200
|
+
};
|
|
201
|
+
});
|
|
190
202
|
const onChange = (value, index) => {
|
|
191
203
|
emit("changeSelect", value, index);
|
|
192
204
|
};
|