From 948041cf93f5825b978fe307bf925db62167d07c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=88=98=E4=BD=B3=E5=AE=87?= <17601616548@163.com>
Date: Sun, 13 Oct 2024 10:53:55 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A2=84=E7=BA=A6=E6=A0=B8?=
=?UTF-8?q?=E7=A3=81=E6=97=B6=E9=97=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
h5/pages/main/tjyy/tjyy.vue | 6 +++++-
h5/pages/main/yytjsj/yytjsj.vue | 8 +++++---
h5/store/index.js | 4 ++--
3 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/h5/pages/main/tjyy/tjyy.vue b/h5/pages/main/tjyy/tjyy.vue
index 4c7d4ee..940c8ac 100755
--- a/h5/pages/main/tjyy/tjyy.vue
+++ b/h5/pages/main/tjyy/tjyy.vue
@@ -509,7 +509,11 @@ const toRouter = (url, status) => {
:key="index"
v-if="yytjInfo?.nmr_list?.length"
>
- {{ val.name }}
+
+ {{
+ v
+ }}
+
{{ val.time }}
{{
val.time ? "重新预约" : "预约时间"
diff --git a/h5/pages/main/yytjsj/yytjsj.vue b/h5/pages/main/yytjsj/yytjsj.vue
index 1e0f8b3..a0950f7 100755
--- a/h5/pages/main/yytjsj/yytjsj.vue
+++ b/h5/pages/main/yytjsj/yytjsj.vue
@@ -632,10 +632,12 @@ onShow(() => {
:class="nmrIndex == index ? 'acitvetc' : ''"
class="flex flex-justify-around p-20rpx pl-10rpx pr-10rpx rounded-15rpx"
>
-
- {{ item.name }}
+
+ {{
+ v
+ }}
-
+
{{ item.time }}
diff --git a/h5/store/index.js b/h5/store/index.js
index 118bae9..28f6caa 100644
--- a/h5/store/index.js
+++ b/h5/store/index.js
@@ -67,14 +67,14 @@ export const useStore = defineStore('counter', {
uni.setStorageSync('USER', JSON.stringify(user));
},
getUser() {
- return JSON.parse(uni.getStorageSync('USER')) || this.user;
+ return JSON.parse(uni.getStorageSync('USER') || '{}') || this.user;
},
setGroupInfo(info) {
this.groupInfo = info;
uni.setStorageSync('GROUP_INFO', JSON.stringify(info));
},
getGroupInfo() {
- return JSON.parse(uni.getStorageSync('GROUP_INFO')) || this.groupInfo;
+ return JSON.parse(uni.getStorageSync('GROUP_INFO') || '{}') || this.groupInfo;
},
resetSaveInfo() {
this.save = {