|
|
|
|
@ -1,7 +1,16 @@ |
|
|
|
|
<script setup> |
|
|
|
|
import { ref } from 'vue'; |
|
|
|
|
import { ref,onMounted,inject } from 'vue'; |
|
|
|
|
import { Post } from '@/utils/https' |
|
|
|
|
const store = inject('appStore') |
|
|
|
|
|
|
|
|
|
const welcomeWord = ref('下午好,张先生') |
|
|
|
|
const welcomeSubWord = ref('我是您的服务管家皮卡丘') |
|
|
|
|
onMounted(() => { |
|
|
|
|
Post('welcome/speech', { |
|
|
|
|
source: store.source, |
|
|
|
|
userInfoId: store.userId |
|
|
|
|
}).then(res =>{}) |
|
|
|
|
}) |
|
|
|
|
</script> |
|
|
|
|
<template> |
|
|
|
|
<div class="welcome-con"> |
|
|
|
|
|