From bcf7914e7b55e72cc453b559086255a56fe53a64 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期一, 20 一月 2025 08:59:44 +0800 Subject: [PATCH] feat:电子提煤单下载显示 --- main.js | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index 51df9cf..48cd2e8 100644 --- a/main.js +++ b/main.js @@ -1,12 +1,16 @@ import App from './App' import Vue from 'vue' import '../unattended-app/static/fonts/commontfont.css' -import tabbar from '@/components/tab-bar/tab-bar.vue' +// 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' @@ -22,14 +26,18 @@ reqGet, reqPost, reqAllJson, - reqDelete + reqDelete, + reqPut, + reqGetId } 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.$reqPut = reqPut Vue.prototype.$store = store +Vue.prototype.$reqGetId = reqGetId // 鐢变簬寰俊灏忕▼搴忕殑杩愯鏈哄埗闂锛岄渶澹版槑濡備笅涓�琛岋紝H5鍜孉PP闈炲繀濉� const app = new Vue({ store, -- Gitblit v1.9.1