From 01e96c8855927df67ac8a6831e345b6cb33140d1 Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期二, 09 五月 2023 18:49:40 +0800 Subject: [PATCH] 样式修改 --- main.js | 18 +++++++++++------- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a/main.js b/main.js index 5e8f4b3..b214c90 100644 --- a/main.js +++ b/main.js @@ -1,12 +1,11 @@ import App from './App' import Vue from 'vue' import tabbar from '@/components/tab-bar/tab-bar.vue' - Vue.config.productionTip = false App.mpType = 'app' uni.$u.config.unit = 'rpx' -Vue.use('tab-bar', tabbar); +Vue.use('tab-bar', tabbar) // 寮曞叆鍏ㄥ眬 uView 妗嗘灦 import uView from '@/uni_modules/uview-ui' @@ -20,11 +19,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