server_commit

This commit is contained in:
zhengziru
2024-12-05 09:24:21 +08:00
parent 30a563bae6
commit f7dd11b067
7 changed files with 144 additions and 83 deletions
@@ -26,7 +26,7 @@ const news = {
this.newsData = resp.data
},
openUrl(href) {
const url = this.isHttpOrHttps(href) ? href : "https://gh.zufe.edu.cn/" + href
const url = this.isHttpOrHttps(href) ? href : "http://gh.hrbnu.edu.cn/" + href
window.open(url)
},
isHttpOrHttps(url) {
@@ -424,7 +424,7 @@
if (this.activeName === "2") {
this.loginForm.loginType = "SMS_CODE"
} else {
this.loginForm.loginType = null
this.loginForm.loginType = "WEB"
}
const resp = await $.post("${base!}/platform/login/doLogin", this.loginForm)
if (resp.code === 0) {