@kigi/components 1.10.0 → 1.11.0
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
|
@@ -597,10 +597,13 @@ class MbgSelectController {
|
|
|
597
597
|
}
|
|
598
598
|
|
|
599
599
|
checkFavorite() {
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
this.
|
|
603
|
-
|
|
600
|
+
let favorite
|
|
601
|
+
this.$timeout(() => {
|
|
602
|
+
favorite = MbgCookie.get(this.getFavoriteKey())
|
|
603
|
+
if (favorite && this.enableFavorite && !this.ngModel) {
|
|
604
|
+
this.selectOption(favorite)
|
|
605
|
+
}
|
|
606
|
+
}, 300)
|
|
604
607
|
}
|
|
605
608
|
|
|
606
609
|
favorite(evt, item) {
|