diff --git a/src/components/page/articleAdd.vue b/src/components/page/articleAdd.vue index efada55..02f79ed 100644 --- a/src/components/page/articleAdd.vue +++ b/src/components/page/articleAdd.vue @@ -2317,6 +2317,7 @@ export default { // 点击tab变化 StepCode(e) { + console.log('🚀 ~ StepCode ~ e111:', e); console.log(e); if (this.move_step > e) { if (this.move_step == 2) { @@ -2328,25 +2329,31 @@ export default { this.$refs.articleform.validate((valid) => { if (valid) { if (this.move_step == 1) { - var flist = this.keywordsList; - var fstr = ''; - for (var fu in flist) { - if (flist[fu].ke != '') { - fstr += flist[fu].ke.trim() + ','; - } - } - this.form.keyWords = fstr == '' ? '' : fstr.substring(0, fstr.length - 1); - this.$api.post('api/Article/addArticlePart1', this.form).then((res) => { - if (res.code == 0) { - this.stagingID = res.data.article_id; - this.form.article_id = res.data.article_id; - this.$message.success('Saving succeeded!'); - this.move_step = 2; //进行步骤 - this.show_step = 2; //显示内容 - } else { - this.$message.error(res.msg); - } - }); + //暂时注销 start + // var flist = this.keywordsList; + // var fstr = ''; + // for (var fu in flist) { + // if (flist[fu].ke != '') { + // fstr += flist[fu].ke.trim() + ','; + // } + // } + // this.form.keyWords = fstr == '' ? '' : fstr.substring(0, fstr.length - 1); + // this.$api.post('api/Article/addArticlePart1', this.form).then((res) => { + // if (res.code == 0) { + // this.stagingID = res.data.article_id; + // this.form.article_id = res.data.article_id; + // this.$message.success('Saving succeeded!'); + //暂时注销 End + this.move_step = 2; //进行步骤 + this.show_step = 2; //显示内容 + + //暂时注销 start + // } else { + // this.$message.error(res.msg); + // } + + // }); + //暂时注销 End } else if (this.move_step == 2) { this.onStaging(2); this.show_step = 3;