mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-12 01:07:09 +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() {
|
||||
this.update();
|
||||
mounted: function() {
|
||||
this.$nextTick(() => {
|
||||
this.update();
|
||||
})
|
||||
},
|
||||
components: {
|
||||
configSection: {
|
||||
@ -56,8 +58,6 @@ $(document).ready(() => {
|
||||
content: this.editContent
|
||||
}
|
||||
}).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){
|
||||
self[k] = v;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user