We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent beb9478 commit 795a58bCopy full SHA for 795a58b
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "vue-api-queries",
3
- "version": "1.1.3",
+ "version": "1.1.4",
4
"description": "Elegant and simple way to build requests for REST API",
5
"main": "dist/index.js",
6
"types": "dist/index.d.ts",
src/index.ts
@@ -36,7 +36,9 @@ class VueApiQueries {
36
Vue.mixin({
37
beforeCreate() {
38
this.$options.$errors = {} as any
39
- Vue.set(this.$options, '$errors', Validator)
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
40
+ // @ts-ignore
41
+ Vue.util.defineReactive(this.$options, '$errors', Validator)
42
if (!this.$options.computed) {
43
this.$options.computed = {}
44
}
0 commit comments