|
@@ -8,7 +8,7 @@ import { Badge, Circle, Popover, Popup, showConfirmDialog } from "vant";
|
|
|
import Speed from "./speed";
|
|
|
import { evaluatingData, handleStartEvaluat } from "/src/view/evaluating";
|
|
|
import Settting from "./settting";
|
|
|
-import state, { handleChangeSection, handleResetPlay, handleRessetState, togglePlay } from "/src/state";
|
|
|
+import state, { IPlatform, handleChangeSection, handleResetPlay, handleRessetState, togglePlay } from "/src/state";
|
|
|
import { getAudioCurrentTime } from "/src/view/audio-list";
|
|
|
import { followData, toggleFollow } from "/src/view/follow-practice";
|
|
|
import { api_back } from "/src/helpers/communication";
|
|
@@ -28,7 +28,7 @@ export const headTopData = reactive({
|
|
|
handleChangeModeType(value: "practise" | "follow" | "evaluating") {
|
|
|
if (value === "evaluating") {
|
|
|
console.log(state.platform)
|
|
|
- if (state.platform?.toLocaleUpperCase() === "PC"){
|
|
|
+ if (state.platform === IPlatform.PC){
|
|
|
showConfirmDialog({
|
|
|
title: '温馨提示',
|
|
|
message: '该功能暂未开发,敬请期待',
|