代码更新
This commit is contained in:
parent
50b22fe69b
commit
4fde9600cd
@ -178,6 +178,7 @@ import { reqApplyChannel } from "@/api/customer/channel";
|
||||
import store from "@/store";
|
||||
import { getHomePath } from '@/views/setting/tools'
|
||||
import MessageCenter from '@/components/MessageCenter/MessageCenter.vue'
|
||||
import { windows } from 'codemirror/src/util/browser';
|
||||
|
||||
export default Vue.extend({
|
||||
name: "TopBox",
|
||||
@ -266,7 +267,9 @@ export default Vue.extend({
|
||||
},
|
||||
methods: {
|
||||
goOneHome(){
|
||||
// 如果当前域名为ncmacth 则跳转h.cn,则跳转到ncmatch.cn的/ncmatchHome/index
|
||||
|
||||
console.log('当前域名',windows.location.hostname);
|
||||
|
||||
if (window.location.hostname === 'ncmatch.cn') {
|
||||
this.$route.push('/ncmatchHome/index');
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user