Merge pull request '代码更新' (#84) from main into prod

Reviewed-on: #84
This commit is contained in:
charles 2026-03-27 15:31:07 +08:00
commit e9a3fe5ad1

View File

@ -178,6 +178,7 @@ import { reqApplyChannel } from "@/api/customer/channel";
import store from "@/store"; import store from "@/store";
import { getHomePath } from '@/views/setting/tools' import { getHomePath } from '@/views/setting/tools'
import MessageCenter from '@/components/MessageCenter/MessageCenter.vue' import MessageCenter from '@/components/MessageCenter/MessageCenter.vue'
import { windows } from 'codemirror/src/util/browser';
export default Vue.extend({ export default Vue.extend({
name: "TopBox", name: "TopBox",
@ -266,7 +267,9 @@ export default Vue.extend({
}, },
methods: { methods: {
goOneHome(){ goOneHome(){
// ncmacth h.cnncmatch.cn/ncmatchHome/index
console.log('当前域名',windows.location.hostname);
if (window.location.hostname === 'ncmatch.cn') { if (window.location.hostname === 'ncmatch.cn') {
this.$route.push('/ncmatchHome/index'); this.$route.push('/ncmatchHome/index');
} else { } else {