This commit is contained in:
syuilo 2018-02-21 01:23:25 +09:00
parent 49d257992f
commit 34f91f04ad
3 changed files with 4 additions and 4 deletions

View file

@ -28,7 +28,7 @@ export default Vue.extend({
}, },
methods: { methods: {
onInput(i, e) { onInput(i, e) {
this.choices[i] = e.target.value; // TODO Vue.set(this.choices, i, e.target.value);
}, },
add() { add() {

View file

@ -417,7 +417,7 @@ export default Vue.extend({
if (this.folders.some(f => f.id == folder.id)) { if (this.folders.some(f => f.id == folder.id)) {
const exist = this.folders.map(f => f.id).indexOf(folder.id); const exist = this.folders.map(f => f.id).indexOf(folder.id);
this.folders[exist] = folder; // TODO Vue.set(this.folders, exist, folder);
return; return;
} }
@ -434,7 +434,7 @@ export default Vue.extend({
if (this.files.some(f => f.id == file.id)) { if (this.files.some(f => f.id == file.id)) {
const exist = this.files.map(f => f.id).indexOf(file.id); const exist = this.files.map(f => f.id).indexOf(file.id);
this.files[exist] = file; // TODO Vue.set(this.files, exist, file);
return; return;
} }

View file

@ -193,7 +193,7 @@ export default Vue.extend({
if (this.files.some(f => f.id == file.id)) { if (this.files.some(f => f.id == file.id)) {
const exist = this.files.map(f => f.id).indexOf(file.id); const exist = this.files.map(f => f.id).indexOf(file.id);
this.files[exist] = file; // TODO Vue.set(this.files, exist, file);
return; return;
} }