|
@@ -3,13 +3,15 @@ import styles from './index.module.less';
|
|
|
import qs from 'query-string';
|
|
|
import { storage } from '@/helpers/storage';
|
|
|
import { ACCESS_TOKEN } from '@/store/mutation-types';
|
|
|
+// import { vaildMusicScoreUrl } from '@/helpers/utils';
|
|
|
|
|
|
export function vaildMusicScoreUrl() {
|
|
|
const url: string = window.location.href;
|
|
|
let returnUrl = '';
|
|
|
if (/192/.test(url) || /localhost/.test(url)) {
|
|
|
//本地环境
|
|
|
- returnUrl = 'https://test.kt.colexiu.com';
|
|
|
+ // returnUrl = 'https://test.kt.colexiu.com';
|
|
|
+ returnUrl = 'https://mec.colexiu.com';
|
|
|
} else if (/test/.test(url)) {
|
|
|
// dev 环境
|
|
|
returnUrl = 'https://test.kt.colexiu.com';
|