Skip to content
Snippets Groups Projects
Commit c2d79450 authored by syuilo's avatar syuilo
Browse files

Pagesで変数削除するとそれ以外の変数が複製されるみたいなバグを修正

parent d58ae601
No related branches found
No related tags found
No related merge requests found
......@@ -342,12 +342,7 @@ export default defineComponent({
},
removeVariable(v) {
const i = this.variables.findIndex(x => x.name === v.name);
const newValue = [
...this.variables.slice(0, i),
...this.variables.slice(i + 1)
];
this.variables = newValue;
this.variables = this.variables.filter(x => x.name !== v.name);
},
getPageBlockList() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment