@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kigi/components",
3
- "version": "1.9.1-beta.3",
3
+ "version": "1.10.0",
4
4
  "description": "@kigi/components",
5
5
  "main": "src/components/index.ts",
6
6
  "scripts": {
@@ -597,13 +597,10 @@ class MbgSelectController {
597
597
  }
598
598
 
599
599
  checkFavorite() {
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)
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) {