Commit e0d41025 authored by GuanHua's avatar GuanHua

refactor: 代码规范

parent 935fef95
...@@ -281,7 +281,7 @@ class FilterStore { ...@@ -281,7 +281,7 @@ class FilterStore {
PublicApi.postSearchShopOftenSelectSaveOrUpdateOftenSelect(tempFilterParam).then(res => { PublicApi.postSearchShopOftenSelectSaveOrUpdateOftenSelect(tempFilterParam).then(res => {
if (res.code === 1000) { if (res.code === 1000) {
this.getCommonlyUsedFilterList() this.getCommonlyUsedFilterList()
resolve() resolve(true)
} else { } else {
reject() reject()
} }
...@@ -315,7 +315,7 @@ class FilterStore { ...@@ -315,7 +315,7 @@ class FilterStore {
PublicApi.postSearchShopOftenSelectDeleteOftenSelect({ id }).then(res => { PublicApi.postSearchShopOftenSelectDeleteOftenSelect({ id }).then(res => {
if (res.code === 1000) { if (res.code === 1000) {
this.getCommonlyUsedFilterList() this.getCommonlyUsedFilterList()
resolve() resolve(true)
} else { } else {
reject() reject()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment