foxbenjaminfox/vue-async-computed

asyncComputed return only default value

durygus opened this issue · 2 comments

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.

And generally nothing is returned by 'return' from asyncComputed values

This seems related to #74, and if so it's likely that #95 will fix it.