From f466ae4fdc645c66c9f25e2e4598b9809e2b41af Mon Sep 17 00:00:00 2001 From: yangys <y_ys79@sina.com> Date: 星期六, 13 一月 2024 22:56:49 +0800 Subject: [PATCH] Merge branch 'master' of http://www.beijingsoft.cn:9090/r/mdc-front --- src/main.js | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main.js b/src/main.js index 5bfafc6..8a1c2c7 100644 --- a/src/main.js +++ b/src/main.js @@ -1,7 +1,7 @@ /* * @Date: 2024-01-05 21:45:19 * @LastEditors: Sneed - * @LastEditTime: 2024-01-05 23:12:32 + * @LastEditTime: 2024-01-06 21:13:57 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/main.js */ import Vue from 'vue' @@ -17,14 +17,13 @@ import App from './App' import router from './router' import store from './store' -import {post,get} from '@/utils/ajax' +import ajax from '@/utils/ajax' import '@/icons' // icon import '@/permission' // permission control Vue.use(ElementUI, { locale }) Vue.config.productionTip = false -Vue.$prototype.$post = post -Vue.$prototype.$get = get +Vue.prototype.$http = ajax new Vue({ el: '#app', router, -- Gitblit v1.9.3