@kdcloudjs/kdesign 1.8.71 → 1.8.72
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/dist/kdesign.css +1 -1
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +2 -1
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +1 -1
- package/dist/kdesign.min.js +2 -2
- package/dist/kdesign.min.js.map +1 -1
- package/es/city-picker/city-picker.js +1 -0
- package/lib/city-picker/city-picker.js +1 -0
- package/package.json +1 -1
|
@@ -235,6 +235,7 @@ var InternalSelect = function InternalSelect(props, ref) {
|
|
|
235
235
|
city.type = tabsValue === 'domestic' ? 'domestic' : 'foreign';
|
|
236
236
|
}
|
|
237
237
|
(city === null || city === void 0 ? void 0 : city.id) !== initValue && (onChange === null || onChange === void 0 ? void 0 : onChange(city === null || city === void 0 ? void 0 : city.id, city));
|
|
238
|
+
handleClear();
|
|
238
239
|
if (isMobile) {
|
|
239
240
|
(_a = searchRef.current) === null || _a === void 0 ? void 0 : _a.blur();
|
|
240
241
|
} else {
|
|
@@ -247,6 +247,7 @@ var InternalSelect = function InternalSelect(props, ref) {
|
|
|
247
247
|
city.type = tabsValue === 'domestic' ? 'domestic' : 'foreign';
|
|
248
248
|
}
|
|
249
249
|
(city === null || city === void 0 ? void 0 : city.id) !== initValue && (onChange === null || onChange === void 0 ? void 0 : onChange(city === null || city === void 0 ? void 0 : city.id, city));
|
|
250
|
+
handleClear();
|
|
250
251
|
if (isMobile) {
|
|
251
252
|
(_a = searchRef.current) === null || _a === void 0 ? void 0 : _a.blur();
|
|
252
253
|
} else {
|