style: 移除无效引用

This commit is contained in:
TsMask
2024-05-24 17:42:28 +08:00
parent d82d6b7b47
commit 34266da44e
2 changed files with 3 additions and 10 deletions

View File

@@ -167,7 +167,6 @@ function fnUploadFile(up: UploadRequestOption) {
uploadFile(formData)
.then(res => {
if (res.code === RESULT_CODE_SUCCESS) {
message.success('upload success', 3);
// 改为完成状态
const file = modalState.uploadFiles[0];
file.percent = 100;

View File

@@ -1,10 +1,5 @@
<script setup lang="ts">
import {
Modal,
TableColumnsType,
message,
notification,
} from 'ant-design-vue/lib';
import { Modal, TableColumnsType } from 'ant-design-vue/lib';
import { defineAsyncComponent, onMounted, reactive, ref } from 'vue';
import { fnToStepName } from '../hooks/useStep';
import useI18n from '@/hooks/useI18n';
@@ -175,10 +170,10 @@ async function fnRecordInstall() {
};
if (res.code === RESULT_CODE_SUCCESS) {
operateData.status = 'done';
operateData.log = t('views.system.quickStart.stepInstallDone')
operateData.log = t('views.system.quickStart.stepInstallDone');
} else {
operateData.status = 'fail';
operateData.log = t('views.system.quickStart.stepInstallFail')
operateData.log = t('views.system.quickStart.stepInstallFail');
}
state.operateDataUpgrade.unshift(operateData);
} catch (error) {
@@ -302,7 +297,6 @@ onMounted(() => {
>
<template #icon><ThunderboltOutlined /></template>
{{ t('views.system.quickStart.stepInstallText') }}
{{ state.selectedRowKeys.length || '' }}
</a-button>
<a-button type="primary" @click="fnStepNext('NeInfoSoftwareLicense')">