代码更新

This commit is contained in:
hrx 2026-03-27 15:06:19 +08:00
parent a428ff5fb6
commit de860012d5

View File

@ -263,8 +263,24 @@ export default Vue.extend({
return this.$route.path.includes('/homePage/index'); return this.$route.path.includes('/homePage/index');
} }
} }
},
mounted() {
this.$nextTick(() => {
this.isNcmatchDomain; //
});
}, },
methods: { methods: {
// -
goHome() {
if (this.isNcmatchDomain) {
this.$router.push('/ncmatchHome/index');
} else {
this.$router.push('/homePage/index');
}
},
// AI // AI
handleAIClick() { handleAIClick() {
this.$message.info({ 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> </script>