测试验证完成
This commit is contained in:
+2
-2
@@ -1020,7 +1020,7 @@ const CommonUtil = {
|
||||
|
||||
if (!window.__cxzCaiinfoMenuLoading && !window.__cxzCaiinfoMenuMeta && typeof ApiClient !== 'undefined') {
|
||||
window.__cxzCaiinfoMenuLoading = true;
|
||||
ApiClient.post('/api/web/menu/getFormatList', {})
|
||||
ApiClient.loadMenuCompat()
|
||||
.then((res) => {
|
||||
window.__cxzCaiinfoMenuMeta = findMenuMeta(res.data || []);
|
||||
if (typeof window.loadArticles === 'function') window.loadArticles();
|
||||
@@ -1439,7 +1439,7 @@ const CommonUtil = {
|
||||
},
|
||||
|
||||
loadLinks() {
|
||||
ApiClient.post('/api/web/link/getList', {}).then((res) => {
|
||||
ApiClient.loadLinksCompat().then((res) => {
|
||||
const list = res.data || [];
|
||||
this.renderLinks(
|
||||
list.filter((item) => item.type === 1),
|
||||
|
||||
Reference in New Issue
Block a user