force-app/main/default/lwc/customWeeklyReportComp/customWeeklyReportComp.html
@@ -1,8 +1,13 @@ <template> <template if:true={isShowButton}> <lightning-button label="查看周报活动" title="周报" onclick={toWeeklyReport} class="slds-m-left_x-small"></lightning-button> <lightning-button label="查看周报活动" title="周报" onclick={toWeeklyReport} class="slds-m-left_x-small" ></lightning-button> </template> <template if:false={isShowButton}> <p style="text-align: center;">...</p> <p style="text-align: center">...</p> </template> </template>