@@ -24,6 +24,7 @@
</template>
<script setup name="Home" lang="ts">
+import { initSpeech, speckText, playMusic, controlMusic, speckCancel, chineseNumber } from '@/utils/speech';
const { proxy } = getCurrentInstance() as any;
const router = useRouter();
@@ -93,7 +94,10 @@ const getJump = (url: string, name: string) => {
}
};
-onMounted(() => {});
+onMounted(() => {
+ //停止播报;
+ speckCancel();
+});
</script>
<style lang="scss" scoped>