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

---
 sub-pages/protocol/protocol.vue |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/sub-pages/protocol/protocol.vue b/sub-pages/protocol/protocol.vue
index fd85cb3..ee3e0b3 100644
--- a/sub-pages/protocol/protocol.vue
+++ b/sub-pages/protocol/protocol.vue
@@ -17,12 +17,10 @@
 onMounted(() => {
     const localTheme = uni.getStorageSync('theme') || 'light'
     theme.value = localTheme
-    console.log('theme', theme.value)
 })
 
 onLoad((options: { title?: string }) => {
     const title = options.title ? decodeURIComponent(options.title) : '';
-    console.log('接收到的title:', title);
     uni.setNavigationBarTitle({
 	title: title
 });
@@ -34,7 +32,6 @@
     $message.showLoading()
     const { data } = await $http.request('get', '/api/config/content/list/view?id=' +title, {})
     $message.hideLoading()
-    console.log('data:', data)
     protocol.value=data
 }
 

--
Gitblit v1.9.3