Compare commits
No commits in common. "e9a3fe5ad1e9ca85f3e2cf331b4dbe638271b009" and "016efdc69d42072d28642c99d450c53b48284b20" have entirely different histories.
e9a3fe5ad1
...
016efdc69d
@ -178,7 +178,6 @@ 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",
|
||||||
@ -267,9 +266,7 @@ export default Vue.extend({
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
goOneHome(){
|
goOneHome(){
|
||||||
|
// 如果当前域名为ncmacth 则跳转h.cn,则跳转到ncmatch.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 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user