Commit df7100f8 by huaying

fix: 创建会员分组提示改弹框

parent 374c790c
......@@ -26,6 +26,8 @@ server.interceptors.response.use(
const data = response.data;
if (data.errorCode == 0) {
return data;
} else if (data.errorCode == '200009') {
return data;
} else {
// 根据不同的状态码来做一些操作 例如 token不合法 token过期 没有权限之类的'
Message({
......
......@@ -519,13 +519,18 @@ export default {
addNewGroup(param)
.then(res => {
if (res.errorCode == 0) {
console.log(this.tagConfig.fixedType);
// console.log(this.tagConfig.fixedType);
const type = this.tagConfig.fixedType ? 'fixed' : '';
this.$router.push({ path: 'memberGroupList', query: { type } });
}else if(res.errorCode == '200009'){
this.$alert(res.message, '提示', {
confirmButtonText: '知道了',
type: 'warning'
})
}
})
.catch(err => {
console.log(err);
console.log(err, 'oooo');
});
},
expendsGroupList() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment