增加内核管理判断

This commit is contained in:
黑先森
2024-11-27 19:54:43 +08:00
parent 73ae6b90db
commit 8373efa3ba
+12 -10
View File
@@ -35,16 +35,18 @@
</ElTag>
</ElTooltip>
</div>
<ElButton
class="ml-auto"
:disabled="data.isStart"
@click="handleCoreManagement"
:loading="data.update"
type="primary"
size="small"
>
内核管理
</ElButton>
<ElTooltip content="请先停止自建服务和联机后再使用,否则内核被占用的情况下,无法进行内核更换">
<ElButton
class="ml-auto"
:disabled="data.isStart || listenObj.server_thread_id.value"
@click="handleCoreManagement"
:loading="data.update"
type="primary"
size="small"
>
内核管理
</ElButton>
</ElTooltip>
</div>
</template>
<ElSelect