From 85b460b57cd7e9ad935042df74f40e1bbdfa3408 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 22 十月 2024 09:13:36 +0800
Subject: [PATCH] ll

---
 h5_meeting/pages/index/config.vue |   19 ++++++++++++++-----
 1 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/h5_meeting/pages/index/config.vue b/h5_meeting/pages/index/config.vue
index e17d074..4765cd6 100644
--- a/h5_meeting/pages/index/config.vue
+++ b/h5_meeting/pages/index/config.vue
@@ -11,14 +11,14 @@
 			<view class="item">
 				<view class="title">鎺ュ彛鍦板潃</view>
 				<view class="line">
-					<input type="text" v-model="param.addr" />
+					<input type="text" v-model="param.baseUrl" />
 					<image src="../../static/icon/right.svg" class="icon"></image>
 				</view>
 			</view>
 			<view class="item">
 				<view class="title">鎺ュ彛璋冪敤闂撮殧(绉�)</view>
 				<view class="line">
-					<input type="text" v-model="param.time" />
+					<input type="text" placeholder="60" v-model="param.time" />
 					<image src="../../static/icon/right.svg" class="icon"></image>
 				</view>
 			</view>
@@ -28,14 +28,21 @@
 </template>
 
 <script>
+	import { baseUrl } from '@/utils/config.js'
 	export default {
 		data() {
 			return {
-				param: {}
+				param: {
+					baseUrl,
+					time: 60
+				}
 			};
 		},
 		onLoad(){
-			const param = uni.getStorageSync('param') || {}
+			const param = uni.getStorageSync('param') || {
+				baseUrl: baseUrl,
+				time: 60
+			}
 			this.param = { ...param }
 		},
 		methods: {
@@ -48,7 +55,9 @@
 					})
 				})
 				setTimeout(()=>{
-					uni.navigateBack()
+					uni.redirectTo({
+						url:'/pages/index/index'
+					})
 				}, 400)
 			}
 		}

--
Gitblit v1.9.3