From e4b6297960fbb055196e4de97eae7b25009d4cfb Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期二, 29 八月 2023 11:43:57 +0800
Subject: [PATCH] 称重异常增加接口
---
main.js | 19 ++++++++++++-------
1 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/main.js b/main.js
index 5e8f4b3..51df9cf 100644
--- a/main.js
+++ b/main.js
@@ -1,12 +1,12 @@
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'
-Vue.use('tab-bar', tabbar);
+Vue.use('tab-bar', tabbar)
// 寮曞叆鍏ㄥ眬 uView 妗嗘灦
import uView from '@/uni_modules/uview-ui'
@@ -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