ll
liukangdong
2024-10-22 85b460b57cd7e9ad935042df74f40e1bbdfa3408
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>
@@ -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: {