st-comp 0.0.49 → 0.0.50
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/lib/bundle.js +2063 -2060
- package/lib/bundle.umd.cjs +25 -25
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/VarietySearch/components/ModelSearch/index.vue +6 -0
package/package.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
text
|
|
7
7
|
size="small"
|
|
8
8
|
type="primary"
|
|
9
|
+
@click="clear"
|
|
9
10
|
>
|
|
10
11
|
不限
|
|
11
12
|
</el-button>
|
|
@@ -100,6 +101,11 @@ const deleteList = (data) => {
|
|
|
100
101
|
emit('change', props.config.key, list.value.filter((item) => item.key !== data.key))
|
|
101
102
|
}
|
|
102
103
|
|
|
104
|
+
// 不限
|
|
105
|
+
const clear = () => {
|
|
106
|
+
emit('change', props.config.key, [])
|
|
107
|
+
}
|
|
108
|
+
|
|
103
109
|
const onSubmit = (data) => {
|
|
104
110
|
if (list.value.find((item) => item.key === data.key)) {
|
|
105
111
|
// 已经存在当前指标
|