服务指令-服务指令库-关闭后再打开初始化页面数据

This commit is contained in:
1378012178@qq.com 2025-12-23 16:28:44 +08:00
parent 059ff54991
commit b289e47a85
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
<a-drawer :title="'服务指令库'" width="80vw" v-model:visible="sdVisible" :closable="true"
:footer-style="{ textAlign: 'right' }" @close="handleCancelDM" :maskClosable="true">
<a-spin :spinning="loading">
<DirectiveRespositoryList ref="dmRef"></DirectiveRespositoryList>
<DirectiveRespositoryList v-if="sdVisible" ref="dmRef"></DirectiveRespositoryList>
</a-spin>
<template #footer>
<a-button @click="handleCancelDM" style="margin-right: 8px;">关闭</a-button>