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 = {