flat: 添加语音播放提示

This commit is contained in:
Apcallover
2025-12-20 15:10:44 +08:00
parent 02fef1700b
commit 1bacbe4936
5 changed files with 97 additions and 29 deletions

View File

@@ -196,11 +196,13 @@ import { reactive, inject, watch, ref, onMounted, onUnmounted } from 'vue';
import { onLoad, onShow } from '@dcloudio/uni-app';
import useUserStore from '@/stores/useUserStore';
import useDictStore from '@/stores/useDictStore';
import { playTextDirectly } from '@/hook/useTTSPlayer-all-in-one';
const { $api, navTo } = inject('globalFunction');
const { loginSetToken, getUserResume } = useUserStore();
const { isMachineEnv } = storeToRefs(useUserStore());
const { getDictSelectOption, oneDictData } = useDictStore();
const openSelectPopup = inject('openSelectPopup');
// status
const selectJobsModel = ref();
const tabCurrent = ref(1);
@@ -242,6 +244,7 @@ onMounted(() => {
if (isMachineEnv) {
startCountdown();
startScanAnimation();
playTextDirectly('请进行用户登录');
}
});
onUnmounted(() => {