|
@@ -164,10 +164,9 @@ export default defineComponent({
|
|
|
onClick={() => {
|
|
|
// forms.message = '节奏练习功能暂未开放,敬请期待!';
|
|
|
// showModalTone.value = true;
|
|
|
- // const origin = /(localhost|192)/.test(location.host)
|
|
|
- // ? 'https://test.lexiaoya.cn'
|
|
|
- // : location.origin;
|
|
|
- const origin = 'http://localhost:9002';
|
|
|
+ const origin = /(localhost|192)/.test(location.host)
|
|
|
+ ? 'https://test.lexiaoya.cn'
|
|
|
+ : location.origin;
|
|
|
const src = `${origin}/classroom-app/#/tempo-practice?Authorization=${userStore.getToken}`;
|
|
|
if (window.matchMedia('(display-mode: standalone)').matches) {
|
|
|
state.application = window.matchMedia(
|