|
|
@@ -208,15 +208,12 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
//清除已记忆花材
|
|
|
- removeMemory(ghsId){
|
|
|
- if(ghsId){
|
|
|
- uni.removeStorageSync('selectList'+this.pageType+'_hd_'+ghsId);
|
|
|
- //删除小菊的记忆
|
|
|
- uni.removeStorageSync("ghsXj"+ghsId)
|
|
|
- }else{
|
|
|
- uni.removeStorageSync('selectList'+this.pageType);
|
|
|
+ removeMemory(){
|
|
|
+ uni.removeStorageSync('selectList'+this.pageType)
|
|
|
+ this.resetSelectInfoByType(this.pageType)
|
|
|
+ if(this.pageType == 'cg' && !this.$util.isEmpty(this.option.account)){
|
|
|
+ uni.removeStorageSync('selectList'+this.pageType+'_hd_'+this.option.account)
|
|
|
}
|
|
|
- this.resetSelectInfoByType(this.pageType);
|
|
|
},
|
|
|
async initData(extendInfo) {
|
|
|
try {
|