前后端全面升级

This commit is contained in:
pycook
2023-07-10 17:42:15 +08:00
parent c444fed436
commit db5ff60aff
629 changed files with 97789 additions and 23995 deletions

View File

@@ -1,7 +1,7 @@
const VueAxios = {
vm: {},
// eslint-disable-next-line no-unused-vars
install (Vue, instance) {
install(Vue, instance) {
if (this.installed) {
return
}
@@ -14,15 +14,14 @@ const VueAxios = {
}
Vue.axios = instance
Object.defineProperties(Vue.prototype, {
axios: {
get: function get () {
get: function get() {
return instance
}
},
$http: {
get: function get () {
get: function get() {
return instance
}
}