asyncComputed return only default value
durygus opened this issue · 2 comments
durygus commented
Please explain to me why when I run this code I get the default value:
Vue.use(AsyncComputed); export default { asyncComputed: { a: { get() { return 1; }, default() { return 0; } }, mounted() { console.log(this.a) } }
I apologize for the unformed code. For some reason, the code insertion does not work.
durygus commented
And generally nothing is returned by 'return' from asyncComputed values
foxbenjaminfox commented