diff --git a/src/components/craft/AddCraftDialog.vue b/src/components/craft/AddCraftDialog.vue index f7b0f54..80c1a29 100644 --- a/src/components/craft/AddCraftDialog.vue +++ b/src/components/craft/AddCraftDialog.vue @@ -237,7 +237,7 @@ defineExpose({ display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; - width: 12.5rem; + width: 10rem; place-items: center; height: 3rem; } @@ -245,6 +245,7 @@ defineExpose({ .transfer-right{ max-height: 40vh; overflow: auto; + width:30rem; } .step-content{ diff --git a/src/components/craft/CraftStatus.vue b/src/components/craft/CraftStatus.vue index a027804..65a55b5 100644 --- a/src/components/craft/CraftStatus.vue +++ b/src/components/craft/CraftStatus.vue @@ -68,7 +68,7 @@ const loading = ref(false) const queryCraftStatus = () => { loading.value = true craftstatus().then((res) => { - console.log('rs====', res) + loading.value = false if (res && res.length) { const uniqueData: CraftTypes.CraftState[] = [] const idMap: Record = {} @@ -95,7 +95,6 @@ const queryCraftStatusByHeatId = (heatId: string) => { if (res.state === 'FINISHED' || res.state === 'ERROR') { clearInterval(byHeatIdTimes.value) } - loading.value = false onHandleSteps(res.steps) scrollToBottom() }) diff --git a/src/views/ore/index.vue b/src/views/ore/index.vue index a2bdd88..cfeef11 100644 --- a/src/views/ore/index.vue +++ b/src/views/ore/index.vue @@ -54,7 +54,7 @@ const onEditOre = () => { const onDelOre = () => { if (!selectedList.value.length) { - ElMessage.warning('请选择要编辑的数据') + ElMessage.warning('请选择要删除的数据') return } ElMessageBox.confirm( @@ -165,10 +165,10 @@ const onShowCraft = () => { - +
- +