@@ -230,6 +230,7 @@ export default {
let postParams = {
Content: [this.ruleForm]
}
+
createLegend({ postParams }).then(res => {
console.log(res)
if (res.Result == 'success') {
@@ -129,8 +129,8 @@ export default {
this.dialogVisible = false
- if (!this.title) {
- this.$refs.searchList.save()
+ if (!this.title || this.info.Type == 'None') {
+ this.$refs.add.create()
},