0👍
✅
You probably wanted to write it this way:
methods: {
addMore: () => {
this.positive_rule.push({
positive_rule: "",
});
},
remove: (index: any) => {
this.positive_rule.splice(index, 1);
},
}
Source:stackexchange.com