更新服务条款页面内容

This commit is contained in:
2025-06-06 15:31:04 +08:00
parent e0a7fb8ee2
commit ac85206085
27 changed files with 464 additions and 243 deletions

View File

@@ -382,10 +382,15 @@ export default {
document.addEventListener("click", function () {
const dropdown = document.querySelector(".dropdown");
const arrow = document.querySelector(".arrow");
if (dropdown.classList.contains("show")) {
try {
if (dropdown.classList.contains("show")) {
dropdown.classList.remove("show");
arrow.classList.remove("up");
}
} catch (error) {
console.log(error)
}
});
@@ -445,6 +450,8 @@ export default {
async fetchSignOut() {
const data = await getLogout();
if (data && data.code == 200) {
// 调用 Vuex 的 logout action 清除前端状态
await this.$store.dispatch('logout')
const lang = this.$i18n.locale;
this.$router.push(`/${lang}`);
}