flat: 添加语音播放提示
This commit is contained in:
@@ -4,6 +4,9 @@ import {
|
||||
} from "./globalFunction";
|
||||
import baseDB from '@/utils/db.js';
|
||||
import useUserStore from '@/stores/useUserStore';
|
||||
import {
|
||||
playTextDirectly
|
||||
} from '@/hook/useTTSPlayer-all-in-one'
|
||||
|
||||
export class IncreaseRevie {
|
||||
constructor(arg) {
|
||||
@@ -52,6 +55,7 @@ export class IncreaseRevie {
|
||||
useUserStore()
|
||||
.loginSetToken(resData.token)
|
||||
.then((resume) => {
|
||||
playTextDirectly('登录成功')
|
||||
if (resume.data.jobTitleId) {
|
||||
useUserStore().initSeesionId();
|
||||
safeReLaunch('/pages/index/index');
|
||||
@@ -63,6 +67,7 @@ export class IncreaseRevie {
|
||||
}
|
||||
} else {
|
||||
$api.msg('识别失败')
|
||||
playTextDirectly('识别失败')
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user