mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-29 13:27:31 -07:00
Pagesで変数削除するとそれ以外の変数が複製されるみたいなバグを修正
This commit is contained in:
parent
4d5870f001
commit
a5640083ad
1 changed files with 1 additions and 6 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue