[Vue warn]: Error in mounted hook: "TypeError: Cannot read properties of undefined (reading 'get')"
found in
vue.runtime.esm.js?2b0e:1897 TypeError: Cannot read properties of undefined (reading 'get')
at VueComponent.http (About.vue?c330:18:1)
我在main里这样写
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant';
import 'vant/lib/index.css';
import axios from 'axios'
Vue.prototype.$axios=axios
Vue.use(Vant);
Vue.config.productionTip = false
new Vue({
router,
store,
render: h => h(App)
}).$mount('#app')
照样报错