申请青年编委单独页面校验显示
This commit is contained in:
@@ -171,6 +171,7 @@ import MailDetail from '../../components/page/components/email/MailDetail.vue';
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
baseUrl: this.Common.baseUrl,
|
||||||
currentFolder: 'inbox',
|
currentFolder: 'inbox',
|
||||||
searchKeyword: '',
|
searchKeyword: '',
|
||||||
syncLoading: false,
|
syncLoading: false,
|
||||||
@@ -645,7 +646,7 @@ fetchLatestSingleMail(jEmailId, journalId) {
|
|||||||
},
|
},
|
||||||
buildSseUrl(jEmailId) {
|
buildSseUrl(jEmailId) {
|
||||||
// 与现有 axios baseURL=/api + 相对路径 规则一致;GET + query 传参
|
// 与现有 axios baseURL=/api + 相对路径 规则一致;GET + query 传参
|
||||||
const base = `/api/${API.inboxSse}`;
|
const base = `${this.baseUrl}${API.inboxSse}`;
|
||||||
const q = new URLSearchParams({ j_email_id: String(jEmailId) }).toString();
|
const q = new URLSearchParams({ j_email_id: String(jEmailId) }).toString();
|
||||||
return `${base}?${q}`;
|
return `${base}?${q}`;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user