From 14cbdc9dc91afe3ade9f1720f573f54f2207ab94 Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期一, 23 九月 2024 17:45:14 +0800
Subject: [PATCH] feat:记住密码,合卡功能

---
 main.js |   29 +++++++++++++++++++++--------
 1 files changed, 21 insertions(+), 8 deletions(-)

diff --git a/main.js b/main.js
index 6d629e2..e41f9aa 100644
--- a/main.js
+++ b/main.js
@@ -1,12 +1,15 @@
 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);
+// #ifdef MP-WEIXIN
+import tabbar from '@/components/tab-bar/tab-bar.vue'
+Vue.use('tab-bar', tabbar)
+// #endif
 
 // 寮曞叆鍏ㄥ眬 uView 妗嗘灦
 import uView from '@/uni_modules/uview-ui'
@@ -20,12 +23,22 @@
 import {
 	reqAll,
 	reqGet,
-	reqPost
-} from '@/api/index.js';
-Vue.prototype.$reqAll = reqAll;
-Vue.prototype.$reqGet = reqGet;
-Vue.prototype.$reqPost = reqPost;
-Vue.prototype.$store = store;
+	reqGet2,
+	reqGetId,
+	reqPost,
+	reqPut,
+	reqAllJson,
+	reqDelete
+} from '@/api/index.js'
+Vue.prototype.$reqAll = reqAll
+Vue.prototype.$reqAllJson = reqAllJson
+Vue.prototype.$reqGet = reqGet
+Vue.prototype.$reqGet2 = reqGet2
+Vue.prototype.$reqGetId = reqGetId
+Vue.prototype.$reqPost = reqPost
+Vue.prototype.$reqPut = reqPut
+Vue.prototype.$reqDelete = reqDelete
+Vue.prototype.$store = store
 // 鐢变簬寰俊灏忕▼搴忕殑杩愯鏈哄埗闂锛岄渶澹版槑濡備笅涓�琛岋紝H5鍜孉PP闈炲繀濉�
 const app = new Vue({
 	store,

--
Gitblit v1.9.1