|
@@ -9,7 +9,7 @@
|
|
|
</RouterTransition>
|
|
</RouterTransition>
|
|
|
</router-view>
|
|
</router-view>
|
|
|
<FloatingBubble class="home-line-chat" v-model:offset="offset" :icon="Line" @click="openChat"
|
|
<FloatingBubble class="home-line-chat" v-model:offset="offset" :icon="Line" @click="openChat"
|
|
|
- v-if="loginStore.token" />
|
|
|
|
|
|
|
+ v-if="loginStore.token && userStore.userData.userAccount.memberlinecsaccount" />
|
|
|
<app-tabbar :data-list="tabList" :data-index="currentTab" @click="onTabClick" />
|
|
<app-tabbar :data-list="tabList" :data-index="currentTab" @click="onTabClick" />
|
|
|
<app-updater :ios-update-url="iosUpdateUrl" />
|
|
<app-updater :ios-update-url="iosUpdateUrl" />
|
|
|
</div>
|
|
</div>
|
|
@@ -98,7 +98,7 @@ const onTabClick = (index: number) => {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
const openChat = () => {
|
|
const openChat = () => {
|
|
|
- const userAccount = userStore.getUserDataInfo('userAccount')
|
|
|
|
|
|
|
+ const userAccount = userStore.userData.userAccount
|
|
|
const lineUrl = 'https://line.me/R/oaMessage/@' + userAccount.memberlinecsaccount
|
|
const lineUrl = 'https://line.me/R/oaMessage/@' + userAccount.memberlinecsaccount
|
|
|
// const lineProtocolUrl = 'line://ti/p/@' + userAccount.memberlinecsaccount
|
|
// const lineProtocolUrl = 'line://ti/p/@' + userAccount.memberlinecsaccount
|
|
|
|
|
|