diff --git a/pages/deepMate/deepMate.vue b/pages/deepMate/deepMate.vue index 5497d58..622aa30 100644 --- a/pages/deepMate/deepMate.vue +++ b/pages/deepMate/deepMate.vue @@ -314,7 +314,7 @@ const renderMarkdown = (content) => { return marked.parse(content); }; -const type = ref("member"); +const type = ref("deepMate"); const inputMessage = ref(""); const showThinking = ref(true); const isSending = ref(false); diff --git a/pages/start/Registration/Registration.vue b/pages/start/Registration/Registration.vue index b2cb182..5c0822e 100644 --- a/pages/start/Registration/Registration.vue +++ b/pages/start/Registration/Registration.vue @@ -198,7 +198,7 @@ import { SendPhoneCodeApi, } from "../../../api/start/login"; -const type = ref("member"); +const type = ref(""); const email = ref(""); const password = ref(""); const phone = ref(""); diff --git a/pages/start/login/login.vue b/pages/start/login/login.vue index 5b19cf6..73ffd03 100644 --- a/pages/start/login/login.vue +++ b/pages/start/login/login.vue @@ -268,7 +268,7 @@ import { import { useUserStore } from "../../../stores/modules/userInfo"; const deepChartID = ref(""); -const type = ref("member"); +const type = ref(""); const email = ref(""); const password = ref(""); const country = ref("+86"); diff --git a/pages/start/recoverPassword/recoverPassword.vue b/pages/start/recoverPassword/recoverPassword.vue index ada6c57..1bdca81 100644 --- a/pages/start/recoverPassword/recoverPassword.vue +++ b/pages/start/recoverPassword/recoverPassword.vue @@ -237,7 +237,7 @@ import uniPopup from "../../../uni_modules/uni-popup/components/uni-popup/uni-po import { verificationPhone, verificationEmail } from "../login/verification"; import { SendEmailCodeApi, SendPhoneCodeApi } from "../../../api/start/login"; -const type = ref("member"); +const type = ref(""); const email = ref(""); const password = ref(""); const newPasswordFirst = ref(""); diff --git a/pages/start/select/select.vue b/pages/start/select/select.vue index 7663375..6b9cd88 100644 --- a/pages/start/select/select.vue +++ b/pages/start/select/select.vue @@ -26,7 +26,7 @@ import footerBar from "../../../components/footerBar"; import { ref, reactive, toRefs, watch } from "vue"; -const type = ref("member"); +const type = ref(""); function toRegistration() { uni.redirectTo({ diff --git a/utils/http.js b/utils/http.js index f1e7714..9aa102f 100644 --- a/utils/http.js +++ b/utils/http.js @@ -39,7 +39,7 @@ const httpInterceptor = { 'contentType': 'application/json', 'version': '1', 'client': client, - 'deviceId': deviceInfo.deviceId + 'deviceId': deviceInfo.deviceInfo.deviceId } //4 添加token,优先用store,没有则回退到body中的token,保持与Apifox一致 const memberStore = useUserStore()