|
@@ -222,7 +222,6 @@ const xt_user = {
|
222
|
222
|
this.commit('SET_URLFORS', {
|
223
|
223
|
urlfors: urlfors
|
224
|
224
|
})
|
225
|
|
- // console.log(222222222222,infoJSON)
|
226
|
225
|
}else{
|
227
|
226
|
this.commit('SET_URLFORS', {
|
228
|
227
|
urlfors: infoJSON.urlfors
|
|
@@ -234,7 +233,6 @@ const xt_user = {
|
234
|
233
|
this.commit('SET_URLFORS', {
|
235
|
234
|
urlfors: urlfors
|
236
|
235
|
})
|
237
|
|
- // console.log(222222222222,infoJSON)
|
238
|
236
|
}else{
|
239
|
237
|
this.commit('SET_URLFORS', {
|
240
|
238
|
urlfors: infoJSON.urlfors
|
|
@@ -247,7 +245,6 @@ const xt_user = {
|
247
|
245
|
this.commit('SET_URLFORS', {
|
248
|
246
|
urlfors: urlfors
|
249
|
247
|
})
|
250
|
|
- // console.log(222222222222,infoJSON)
|
251
|
248
|
}else{
|
252
|
249
|
this.commit('SET_URLFORS', {
|
253
|
250
|
urlfors: infoJSON.urlfors
|
|
@@ -278,42 +275,39 @@ const xt_user = {
|
278
|
275
|
mall_role_exist: data.mall_role_exist
|
279
|
276
|
})
|
280
|
277
|
|
281
|
|
- let urlfors = infoJSON.urlfors
|
282
|
|
- if(infoJSON.cdm_role_exist == true){
|
|
278
|
+ let urlfors = data.urlfors
|
|
279
|
+ if(data.cdm_role_exist == true){
|
283
|
280
|
console.log("有")
|
284
|
281
|
urlfors.push("/slow")
|
285
|
282
|
this.commit('SET_URLFORS', {
|
286
|
283
|
urlfors: urlfors
|
287
|
284
|
})
|
288
|
|
- // console.log(222222222222,infoJSON)
|
289
|
285
|
}else{
|
290
|
286
|
this.commit('SET_URLFORS', {
|
291
|
|
- urlfors: infoJSON.urlfors
|
|
287
|
+ urlfors: data.urlfors
|
292
|
288
|
})
|
293
|
289
|
}
|
294
|
290
|
|
295
|
|
- if(infoJSON.scrm_role_exist == true){
|
|
291
|
+ if(data.scrm_role_exist == true){
|
296
|
292
|
urlfors.push("/scrm")
|
297
|
293
|
this.commit('SET_URLFORS', {
|
298
|
294
|
urlfors: urlfors
|
299
|
295
|
})
|
300
|
|
- // console.log(222222222222,infoJSON)
|
301
|
296
|
}else{
|
302
|
297
|
this.commit('SET_URLFORS', {
|
303
|
|
- urlfors: infoJSON.urlfors
|
|
298
|
+ urlfors: data.urlfors
|
304
|
299
|
})
|
305
|
300
|
}
|
306
|
301
|
|
307
|
|
- if(infoJSON.mall_role_exist == true){
|
|
302
|
+ if(data.mall_role_exist == true){
|
308
|
303
|
console.log("有")
|
309
|
304
|
urlfors.push("/shop")
|
310
|
305
|
this.commit('SET_URLFORS', {
|
311
|
306
|
urlfors: urlfors
|
312
|
307
|
})
|
313
|
|
- // console.log(222222222222,infoJSON)
|
314
|
308
|
}else{
|
315
|
309
|
this.commit('SET_URLFORS', {
|
316
|
|
- urlfors: infoJSON.urlfors
|
|
310
|
+ urlfors: data.urlfors
|
317
|
311
|
})
|
318
|
312
|
}
|
319
|
313
|
|