You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
刚好项目遇到了这个报错,查了下,确实是因为在 loading组件使用v-model去绑定 vuex的值。
导致报错: Computed property "alertShow" was assigned to but it has no setter.
目前该如何解决?
(虽然报错,但是功能还是能用的)
vue
在2.4.2
版本中给computed
里的属性加了限制,详见assigning to a computed property without setter does not fail[Vue warn]: Computed property "isLoading" was assigned to but it has no setter.
Loading
组件绑定值的时候用的v-model
导致的,改成:value="isLoading"
那个warn就不会出现了。The text was updated successfully, but these errors were encountered: