diff --git a/src/store/getters.js b/src/store/getters.js index a8e1309f..a7ca8c63 100644 --- a/src/store/getters.js +++ b/src/store/getters.js @@ -12,7 +12,7 @@ const getters = { if (state.app.apiUrl) { return state.app.apiUrl } - return `${window.location.protocol}\\\\${window.location.host}` + return `${window.location.protocol}//${window.location.host}` } } diff --git a/src/views/user/Login.vue b/src/views/user/Login.vue index 84f5cd52..2e620fa7 100644 --- a/src/views/user/Login.vue +++ b/src/views/user/Login.vue @@ -51,21 +51,22 @@ - > 更改博客 API 地址 + API 设置 - + @@ -161,9 +162,8 @@ body { padding: 16px 32px 32px 32px; box-shadow: -4px 7px 46px 2px rgba(0, 0, 0, 0.1); .tip { - font-size: 0.6rem; cursor: pointer; - margin-top: 1rem; + margin-top: .5rem; float: right; } }