From fd9cfc4487773c00114b7748f1f885e9e7a81135 Mon Sep 17 00:00:00 2001
From: tj <1378534974@qq.com>
Date: 星期四, 05 六月 2025 11:04:17 +0800
Subject: [PATCH] solve the MiniProgramError: process is not defined
---
main.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/main.js b/main.js
index 25e2fac..56c3820 100644
--- a/main.js
+++ b/main.js
@@ -4,6 +4,7 @@
import { createPinia } from 'pinia'
import message from './plugins/message'
import http from './plugins/http.js'
+import storage from './plugins/storage.js'
// import store from './store/index.js'
import {
@@ -41,6 +42,7 @@
// 全局属性
app.config.globalProperties.$message = message
app.config.globalProperties.$http = http
+ app.config.globalProperties.$storage = storage
// app.config.globalProperties.$store = store
// uni.$u.setConfig({
--
Gitblit v1.9.3