|
@@ -123,10 +123,10 @@
|
|
|
/*===========================================================*/
|
|
|
// 获取商家信息
|
|
|
async getMerchantAuth() {
|
|
|
-
|
|
|
+ let res = await getMerchantAuthData();
|
|
|
if (res.code === 'OK' && res.data) {
|
|
|
|
|
|
- let res = await getMerchantAuthData();
|
|
|
+
|
|
|
console.log(res, "获取商家信息")
|
|
|
this.$store.dispatch('SwitchIdentity', 'MERCHANT')
|
|
|
// 将数据存储到vuex中
|