src/views/system/contract/contract/index.vue
@@ -474,11 +474,13 @@ getRuleList(item) { getRuleListByContractId(item.id).then((response) => { this.ruleData = response.data; if (this.ruleData) { this.ruleName = this.ruleData.map((item) => { return item.ruleName; }); this.ruleName = [...new Set(this.ruleName)]; console.log('this.ruleName', this.ruleName); } this.form.id = item.id; this.contractInfo = item; });