|
@@ -140,7 +140,15 @@
|
|
|
httpApi.getWordWancheng({
|
|
|
jieId: props.pageData.jieId,
|
|
|
wordId: props.activeWord.id
|
|
|
- })
|
|
|
+ }).then((res) => {
|
|
|
+ const {
|
|
|
+ wanchangflag
|
|
|
+ } = res.data;
|
|
|
+ if (wanchangflag == 1) {
|
|
|
+ // 通知岛重新调用接口
|
|
|
+ cacheManager.remove('zhangInfo')
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
function noticeBackDb() {
|
|
@@ -153,13 +161,7 @@
|
|
|
type: 3,
|
|
|
wordId: props.activeWord.id
|
|
|
}).then(res => {
|
|
|
- const {
|
|
|
- wanchangflag
|
|
|
- } = res.data;
|
|
|
- if (wanchangflag == 1) {
|
|
|
- // 通知岛重新调用接口
|
|
|
- cacheManager.remove('zhangInfo')
|
|
|
- }
|
|
|
+
|
|
|
})
|
|
|
}
|
|
|
|