From 17efddc6a667670dca682bf36b51a43e99615e6d Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期三, 16 十月 2024 15:59:38 +0800
Subject: [PATCH] 代码初始化
---
h5_meeting/pages/index/config.vue | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/h5_meeting/pages/index/config.vue b/h5_meeting/pages/index/config.vue
index f75c39c..58301ed 100644
--- a/h5_meeting/pages/index/config.vue
+++ b/h5_meeting/pages/index/config.vue
@@ -11,7 +11,7 @@
<view class="item">
<view class="title">鎺ュ彛鍦板潃</view>
<view class="line">
- <input type="text" placeholder="http://10.50.250.178:8088/gateway_interface" v-model="param.baseUrl" />
+ <input type="text" v-model="param.baseUrl" />
<image src="../../static/icon/right.svg" class="icon"></image>
</view>
</view>
@@ -31,11 +31,15 @@
export default {
data() {
return {
- param: {}
+ param: {
+ baseUrl: 'http://192.168.5.13/gateway_interface/'
+ }
};
},
onLoad(){
- const param = uni.getStorageSync('param') || {}
+ const param = uni.getStorageSync('param') || {
+ baseUrl: 'http://192.168.5.13/gateway_interface/'
+ }
this.param = { ...param }
},
methods: {
--
Gitblit v1.9.3