Commit 461b4d33 authored by 张洋's avatar 张洋

修改

parent 9c3895aa
Pipeline #72691 passed with stage
......@@ -1528,9 +1528,9 @@ export default {
(this.activeBtn == 4 && (this.zhyyVal == 22 || this.zhyyVal == 23))
) {
if (this.activeBtn == 2 || this.activeBtn == 3) {
if (this.jkwds.length == 0) {
this.$message.error("请上传接口文档");
} else {
// if (this.jkwds.length == 0) {
// this.$message.error("请上传接口文档");
// } else {
if (
this.activeBtn == 2 ||
(this.activeBtn == 4 && this.zhyyVal == 22)
......@@ -1556,7 +1556,7 @@ export default {
} else if (this.responseRules != 0) {
this.$message.error("请完善返回参数信息中的字段名称");
}
}
// }
}
} else {
let requestData = this.$refs.fwcs_sjfw_qqcs.getTableData();
......@@ -1788,13 +1788,13 @@ export default {
registePt() {
this.$refs.form.validate((valid) => {
if (valid) {
if (
(this.activeBtn == 0 && this.jkwds.length == 0) ||
(this.activeBtn == 2 && this.jkwds.length == 0) ||
(this.activeBtn == 3 && this.jkwds.length == 0)
) {
this.$message.error("请上传接口文档");
} else {
// if (
// (this.activeBtn == 0 && this.jkwds.length == 0) ||
// (this.activeBtn == 2 && this.jkwds.length == 0) ||
// (this.activeBtn == 3 && this.jkwds.length == 0)
// ) {
// this.$message.error("请上传接口文档");
// } else {
if (this.cover.length != 0) {
let contentType = "";
if (
......@@ -1874,7 +1874,7 @@ export default {
} else {
this.$message.error("请上传服务封面");
}
}
// }
} else {
this.$message.error("请完善服务基本信息");
}
......
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