From 664c4a067fe3f2341387cf511e43f0e0eb53b3dc Mon Sep 17 00:00:00 2001 From: Wangjiahao <1522128093@qq.com> Date: Sat, 6 May 2023 09:42:20 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=AA=E8=A1=A8=E6=9D=BF=E9=A2=84=E8=A7=88?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E6=8F=90=E7=A4=BA=20#5141?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/api/panel/enshrine.js | 2 +- frontend/src/api/panel/linkJump.js | 3 ++- frontend/src/api/panel/linkage.js | 3 ++- frontend/src/api/panel/panel.js | 2 +- frontend/src/api/panel/pdfTemplate.js | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/frontend/src/api/panel/enshrine.js b/frontend/src/api/panel/enshrine.js index e8b98951ec..92a64cf51e 100644 --- a/frontend/src/api/panel/enshrine.js +++ b/frontend/src/api/panel/enshrine.js @@ -29,6 +29,6 @@ export function starStatus(panelId) { return request({ url: '/api/store/status/' + panelId, method: 'post', - loading: true + loading: false }) } diff --git a/frontend/src/api/panel/linkJump.js b/frontend/src/api/panel/linkJump.js index ed85ac5398..e5d98dce45 100644 --- a/frontend/src/api/panel/linkJump.js +++ b/frontend/src/api/panel/linkJump.js @@ -33,6 +33,7 @@ export function queryTargetPanelJumpInfo(requestInfo) { export function queryPanelJumpInfo(panelId) { return request({ url: '/linkJump/queryPanelJumpInfo/' + panelId, - method: 'get' + method: 'get', + loading: false }) } diff --git a/frontend/src/api/panel/linkage.js b/frontend/src/api/panel/linkage.js index 6b0bd72fa6..80dc272446 100644 --- a/frontend/src/api/panel/linkage.js +++ b/frontend/src/api/panel/linkage.js @@ -21,6 +21,7 @@ export function saveLinkage(requestInfo) { export function getPanelAllLinkageInfo(panelId) { return request({ url: '/linkage/getPanelAllLinkageInfo/' + panelId, - method: 'get' + method: 'get', + loading: false }) } diff --git a/frontend/src/api/panel/panel.js b/frontend/src/api/panel/panel.js index 6bd6714b92..375c39fd17 100644 --- a/frontend/src/api/panel/panel.js +++ b/frontend/src/api/panel/panel.js @@ -97,7 +97,7 @@ export function viewPanelLog(data) { return request({ url: 'panel/group/viewLog', method: 'post', - loading: true, + loading: false, data }) } diff --git a/frontend/src/api/panel/pdfTemplate.js b/frontend/src/api/panel/pdfTemplate.js index 729a3c2b97..3e898ca1fa 100644 --- a/frontend/src/api/panel/pdfTemplate.js +++ b/frontend/src/api/panel/pdfTemplate.js @@ -4,6 +4,6 @@ export function queryAll() { return request({ url: '/pdf-template/queryAll', method: 'get', - loading: true + loading: false }) }