@jetlinks-web/components 3.2.7 → 3.2.8
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.
|
@@ -205,8 +205,8 @@ const __sfc_main__ = _defineComponent({
|
|
|
205
205
|
expand.value = false;
|
|
206
206
|
initValues();
|
|
207
207
|
if (props.type === 'advanced') {
|
|
208
|
-
q.value =
|
|
209
|
-
target.value =
|
|
208
|
+
q.value = undefined;
|
|
209
|
+
target.value = undefined;
|
|
210
210
|
}
|
|
211
211
|
emit('search', { terms: [] });
|
|
212
212
|
emit('reset', { terms: [] });
|
|
@@ -264,8 +264,8 @@ const __sfc_main__ = _defineComponent({
|
|
|
264
264
|
*/
|
|
265
265
|
const clearValue = () => {
|
|
266
266
|
if (props.type === 'advanced' && props.target !== target.value) {
|
|
267
|
-
q.value =
|
|
268
|
-
target.value =
|
|
267
|
+
q.value = undefined;
|
|
268
|
+
target.value = undefined;
|
|
269
269
|
}
|
|
270
270
|
};
|
|
271
271
|
handleUrlParams();
|
|
@@ -205,8 +205,8 @@ const __sfc_main__ = _defineComponent({
|
|
|
205
205
|
expand.value = false;
|
|
206
206
|
initValues();
|
|
207
207
|
if (props.type === 'advanced') {
|
|
208
|
-
q.value =
|
|
209
|
-
target.value =
|
|
208
|
+
q.value = undefined;
|
|
209
|
+
target.value = undefined;
|
|
210
210
|
}
|
|
211
211
|
emit('search', { terms: [] });
|
|
212
212
|
emit('reset', { terms: [] });
|
|
@@ -264,8 +264,8 @@ const __sfc_main__ = _defineComponent({
|
|
|
264
264
|
*/
|
|
265
265
|
const clearValue = () => {
|
|
266
266
|
if (props.type === 'advanced' && props.target !== target.value) {
|
|
267
|
-
q.value =
|
|
268
|
-
target.value =
|
|
267
|
+
q.value = undefined;
|
|
268
|
+
target.value = undefined;
|
|
269
269
|
}
|
|
270
270
|
};
|
|
271
271
|
handleUrlParams();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetlinks-web/components",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -155,8 +155,8 @@
|
|
|
155
155
|
"webpack-merge": "^5.0.0",
|
|
156
156
|
"webpackbar": "^5.0.2",
|
|
157
157
|
"@jetlinks-web/constants": "^1.0.9",
|
|
158
|
-
"@jetlinks-web/
|
|
159
|
-
"@jetlinks-web/
|
|
158
|
+
"@jetlinks-web/utils": "^1.3.3",
|
|
159
|
+
"@jetlinks-web/hooks": "^1.1.1"
|
|
160
160
|
},
|
|
161
161
|
"publishConfig": {
|
|
162
162
|
"registry": "https://registry.npmjs.org/",
|