mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-11 16:57:11 +02:00
Use vm.$set
https://jp.vuejs.org/v2/api/#vm-set Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
parent
a13c488d0e
commit
6fd3a56f58
@ -131,7 +131,7 @@ $(document).ready(() => {
|
|||||||
$.getJSON(`${relativeUrlRoot}/api/settings`, (data) => {
|
$.getJSON(`${relativeUrlRoot}/api/settings`, (data) => {
|
||||||
console.log(data);
|
console.log(data);
|
||||||
_.each(data, (elements, label) => {
|
_.each(data, (elements, label) => {
|
||||||
this.sections[label] = elements;
|
this.$set(this.sections, label, elements);
|
||||||
});
|
});
|
||||||
this.loaded = true;
|
this.loaded = true;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user