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

Reviewed-on: #82
This commit is contained in:
charles 2026-03-27 15:06:47 +08:00
commit 9f3e5c6bbf

View File

@ -263,8 +263,24 @@ export default Vue.extend({
return this.$route.path.includes('/homePage/index');
}
}
},
mounted() {
this.$nextTick(() => {
this.isNcmatchDomain; //
});
},
methods: {
// -
goHome() {
if (this.isNcmatchDomain) {
this.$router.push('/ncmatchHome/index');
} else {
this.$router.push('/homePage/index');
}
},
// AI
handleAIClick() {
this.$message.info({
@ -665,16 +681,6 @@ export default Vue.extend({
}
},
// -
goHome() {
console.log('当前域名:', window.location.href);
if (this.isNcmatchDomain) {
this.$router.push('/ncmatchHome/index');
} else {
this.$router.push('/homePage/index');
}
}
},
})
</script>