|
|
@@ -729,9 +729,10 @@ export default {
|
|
|
this.ajax
|
|
|
.post(this.$store.state.api + "insert_smodel", params)
|
|
|
.then(res => {
|
|
|
- if (typeof res.data == "object") {
|
|
|
- this.$message.warning("该新建的模块名称已存在,请重新输入");
|
|
|
- } else if (res.data == 1) {
|
|
|
+ //if (typeof res.data == "object") {
|
|
|
+ // this.$message.warning("该新建的模块名称已存在,请重新输入");
|
|
|
+ //} else
|
|
|
+ if (res.data == 1) {
|
|
|
this.boxType = 0;
|
|
|
this.tagIndex = -1;
|
|
|
this.form = {
|