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