From 9c283335fe1b542fcd5164a1ccbf94574b88c6ad Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Tue, 11 Oct 2022 16:32:36 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E6=8A=A5=E5=91=8A=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E4=B8=BA=E7=A9=BA=E7=99=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../template/report/plan/planReportUse.js | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/test-track/frontend/src/business/template/report/plan/planReportUse.js b/test-track/frontend/src/business/template/report/plan/planReportUse.js index af8819e486..405746d3c8 100644 --- a/test-track/frontend/src/business/template/report/plan/planReportUse.js +++ b/test-track/frontend/src/business/template/report/plan/planReportUse.js @@ -39,12 +39,16 @@ function planReportUse(id, template) { Vue.use(PiniaVuePlugin); Vue.use(pinia); - new Vue({ - el: id, - i18n, - pinia, - render: h => h(template) - }); + setTimeout(() => { + new Vue({ + el: id, + i18n, + pinia, + render: h => h(template) + }); + // 不延迟页面渲染不出来 + }, 500); + } export default planReportUse;