Commit c81827e0 by caoyanzhi

update: errorCode

parent 42108953
......@@ -175,7 +175,7 @@ export default {
.then(res => {
const { errorCode, message } = res.data;
this.ruleForm.pending = false;
if (errorCode !== 1) {
if (errorCode !== 0) {
this.$message.error({
duration: 1000,
message: message
......@@ -203,7 +203,7 @@ export default {
.get('/gic-member-tag-web/tagLevel/handSecondLevel?requestProject=marketing&tagLevelType=2')
.then(res => {
const { errorCode, result } = res.data;
if (errorCode === 1) {
if (errorCode === 0) {
this.optionsTwo = result;
}
})
......@@ -227,7 +227,7 @@ export default {
.get(`/gic-member-tag-web/tagLevel/handThirdLevel?requestProject=marketing&tagLevelGroupId=${tagLevelGroupId}`)
.then(res => {
const { errorCode, result } = res.data;
if (errorCode === 1) {
if (errorCode === 0) {
this.optionsThree = result;
}
})
......@@ -244,7 +244,7 @@ export default {
.get(`/gic-member-tag-web/memberTag/getTagById?requestProject=marketing&tagId=${tagId}`)
.then(res => {
const { errorCode, result } = res.data;
if (errorCode === 1) {
if (errorCode === 0) {
this.ruleForm.tagName = result.tagName;
this.ruleForm.tagLevelGroupId = result.tagLevelGroupId;
this.ruleForm.tagTwoLevelGroupId = result.tagTwoLevelGroupId;
......
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