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

View File

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

View File

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