mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-12 09:17:05 +02:00
Stop using ready
Because ready is removed. Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
parent
b962d0e91a
commit
038742e621
@ -11,8 +11,10 @@ $(document).ready(() => {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
ready: function() {
|
mounted: function() {
|
||||||
|
this.$nextTick(() => {
|
||||||
this.update();
|
this.update();
|
||||||
|
})
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
configSection: {
|
configSection: {
|
||||||
@ -56,8 +58,6 @@ $(document).ready(() => {
|
|||||||
content: this.editContent
|
content: this.editContent
|
||||||
}
|
}
|
||||||
}).then(function(data){
|
}).then(function(data){
|
||||||
// NOTE: self.$data = data doesn't work as well, so using _.each
|
|
||||||
// whole $data swapping breaks mode switching..
|
|
||||||
_.each(data, function(v,k){
|
_.each(data, function(v,k){
|
||||||
self[k] = v;
|
self[k] = v;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user