From 72f2abafea3ce8c91d9b689821a4508bdc0f7d9f Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期五, 12 七月 2024 16:59:41 +0800
Subject: [PATCH] feat:修改细节

---
 main.js |   23 ++++++++++++++---------
 1 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/main.js b/main.js
index 5e8f4b3..de44fff 100644
--- a/main.js
+++ b/main.js
@@ -1,17 +1,17 @@
 import App from './App'
 import Vue from 'vue'
-import tabbar from '@/components/tab-bar/tab-bar.vue'
-
+import '../unattended-app/static/fonts/commontfont.css'
 Vue.config.productionTip = false
 
 App.mpType = 'app'
 uni.$u.config.unit = 'rpx'
-Vue.use('tab-bar', tabbar);
+
 
 // 寮曞叆鍏ㄥ眬 uView 妗嗘灦
 import uView from '@/uni_modules/uview-ui'
 Vue.use(uView)
-
+import tabbar from '@/components/tab-bar/tab-bar.vue'
+Vue.use('tab-bar', tabbar)
 // 鍏ㄥ眬瀛樺偍vuex鐨勫皝瑁�
 import store from '@/store'
 Vue.use(store)
@@ -20,11 +20,16 @@
 import {
 	reqAll,
 	reqGet,
-	reqPost
-} from '@/api/index.js';
-Vue.prototype.$reqAll = reqAll;
-Vue.prototype.$reqGet = reqGet;
-Vue.prototype.$reqPost = reqPost;
+	reqPost,
+	reqAllJson,
+	reqDelete
+} from '@/api/index.js'
+Vue.prototype.$reqAll = reqAll
+Vue.prototype.$reqAllJson = reqAllJson
+Vue.prototype.$reqGet = reqGet
+Vue.prototype.$reqPost = reqPost
+Vue.prototype.$reqDelete = reqDelete
+Vue.prototype.$store = store
 // 鐢变簬寰俊灏忕▼搴忕殑杩愯鏈哄埗闂锛岄渶澹版槑濡備笅涓�琛岋紝H5鍜孉PP闈炲繀濉�
 const app = new Vue({
 	store,

--
Gitblit v1.9.1