File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import Validator from './core/Validator'
88// augment typings of Vue.js
99import './vue'
1010
11- export class AxiosHttp {
11+ class AxiosHttp {
1212 installed = false
1313 parsedQs : IParseOptions = {
1414 comma : true ,
@@ -22,7 +22,7 @@ export class AxiosHttp {
2222 const { $axios, errorProperty, parsedQs } = defaultOption
2323 BaseService . $http = $axios
2424 BaseService . $errorProperty = errorProperty || 'errors'
25- BaseService . $parsedQs = parsedQs || this . parsedQs
25+ BaseService . $parsedQs = parsedQs
2626 Vue . mixin ( {
2727 beforeCreate ( ) {
2828 this . $options . $errors = { } as never
@@ -39,6 +39,7 @@ export class AxiosHttp {
3939 } )
4040 }
4141}
42+
4243export * from './util'
4344export type { ValidatorType }
4445export { Validator , BaseService }
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ export function hasFilesDeep(obj: any): boolean {
5252 if ( obj === null ) return false
5353 if ( typeof obj === 'object' ) {
5454 for ( const key in obj ) {
55- if ( hasOwnProperty ( obj , key ) && isFile ( obj [ key ] ) ) return true
55+ if ( isFile ( obj [ key ] ) ) return true
5656 }
5757 }
5858 if ( isArray ( obj ) ) {
You can’t perform that action at this time.
0 commit comments