|
@@ -123,7 +123,7 @@ export default {
|
|
|
rulesId: this.form.rulesId,
|
|
|
},
|
|
|
}).then((res) => {
|
|
|
- if (res.code == 200) {
|
|
|
+ if (res.code === 200) {
|
|
|
if (res.info === 0) {
|
|
|
this.saveFn();
|
|
|
return;
|
|
@@ -162,7 +162,7 @@ export default {
|
|
|
...this.form,
|
|
|
},
|
|
|
}).then((res) => {
|
|
|
- if (res.code == 200) {
|
|
|
+ if (res.code === 200) {
|
|
|
this.$message.success("保存成功");
|
|
|
this.cancel();
|
|
|
} else {
|