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