🎨 修改批量执行模块格式.

This commit is contained in:
lijiahangmax
2024-04-11 00:21:42 +08:00
parent bcef835de3
commit ac6ccd5830
10 changed files with 24 additions and 121 deletions

View File

@@ -15,7 +15,7 @@
<script lang="ts" setup>
import { onMounted, ref, nextTick } from 'vue';
import { useRoute } from 'vue-router';
import { getExecLog } from '@/api/exec/exec-log';
import { getExecCommandLog } from '@/api/exec/exec-command-log';
import ExecLogPanel from '@/components/exec/log/panel/index.vue';
const route = useRoute();
@@ -24,7 +24,7 @@
// 初始化
const init = async (id: number) => {
// 获取执行日志
const { data } = await getExecLog(id);
const { data } = await getExecCommandLog(id);
// 打开日志
await nextTick(() => {
setTimeout(() => {