This commit is contained in:
hrx 2025-12-24 11:32:49 +08:00
parent 9d4bf4ea67
commit 558e1dc42a
3 changed files with 6 additions and 10 deletions

View File

@ -432,7 +432,7 @@ export default {
//
goAliyun() {
reqNewHomeFestival().then(res => {
if (res.status) {
if (res.status === true) {
window.open(res.data)
} else {
this.$message.warning(res.msg)
@ -1281,7 +1281,6 @@ $dark_gray: #889aa4;
}
@media screen and(max-width: 760px) {
.password-mobile {}
.login-form {
width: 90% !important;

View File

@ -330,8 +330,7 @@ export default {
},
//
async handleAliyunProductClick() {
try {
async handleAliyunProductClick(useid) {
//
const syncResponse = await reqNewHomeSync();
@ -339,19 +338,16 @@ export default {
this.$message.warning(syncResponse.msg || '同步失败,请稍后重试');
return;
}
//
const festivalResponse = await reqNewHomeFestival();
console.log(festivalResponse);
if (festivalResponse.status && festivalResponse.data) {
window.open(festivalResponse.data);
} else {
this.$message.warning(festivalResponse.msg || '获取跳转链接失败');
}
} catch (error) {
console.error('阿里云跳转失败:', error);
this.$message.error('网络错误,请稍后重试');
}
},
//

View File

@ -81,7 +81,8 @@ module.exports = {
loaderOptions: {
sass: {
sassOptions: {
outputStyle: 'expanded'
outputStyle: 'expanded',
quietDeps: true
}
}
}