tmp: 部分代码与UnishopV5结合,但是代码有严重缺陷
This commit is contained in:
@@ -144,7 +144,7 @@ export default {
|
||||
data: { t: new Date().getTime() },
|
||||
success: (res) => {
|
||||
const config = res.code === 0 ? res.data : this.$store.state.servicerConfig || {};
|
||||
this.$store.commit('UPDATE_SERVICER_CONFIG', config);
|
||||
this.$store.commit('setServicerConfig', config);
|
||||
resolve(config);
|
||||
},
|
||||
fail: () => resolve(this.$store.state.servicerConfig || {})
|
||||
|
||||
Reference in New Issue
Block a user