From 5c63b1fccedfcd208f3434edb79926c206c3d26f Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期二, 29 四月 2025 14:52:35 +0800 Subject: [PATCH] feat:增加类型显示 --- main.js | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/main.js b/main.js index 51df9cf..e41f9aa 100644 --- a/main.js +++ b/main.js @@ -1,12 +1,15 @@ import App from './App' import Vue from 'vue' import '../unattended-app/static/fonts/commontfont.css' -import tabbar from '@/components/tab-bar/tab-bar.vue' + Vue.config.productionTip = false App.mpType = 'app' uni.$u.config.unit = 'rpx' +// #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,14 +23,20 @@ import { reqAll, reqGet, + 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闈炲繀濉� -- Gitblit v1.9.1