style: 移除无效引用
This commit is contained in:
@@ -167,7 +167,6 @@ function fnUploadFile(up: UploadRequestOption) {
|
|||||||
uploadFile(formData)
|
uploadFile(formData)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.code === RESULT_CODE_SUCCESS) {
|
if (res.code === RESULT_CODE_SUCCESS) {
|
||||||
message.success('upload success', 3);
|
|
||||||
// 改为完成状态
|
// 改为完成状态
|
||||||
const file = modalState.uploadFiles[0];
|
const file = modalState.uploadFiles[0];
|
||||||
file.percent = 100;
|
file.percent = 100;
|
||||||
|
|||||||
@@ -1,10 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import {
|
import { Modal, TableColumnsType } from 'ant-design-vue/lib';
|
||||||
Modal,
|
|
||||||
TableColumnsType,
|
|
||||||
message,
|
|
||||||
notification,
|
|
||||||
} from 'ant-design-vue/lib';
|
|
||||||
import { defineAsyncComponent, onMounted, reactive, ref } from 'vue';
|
import { defineAsyncComponent, onMounted, reactive, ref } from 'vue';
|
||||||
import { fnToStepName } from '../hooks/useStep';
|
import { fnToStepName } from '../hooks/useStep';
|
||||||
import useI18n from '@/hooks/useI18n';
|
import useI18n from '@/hooks/useI18n';
|
||||||
@@ -175,10 +170,10 @@ async function fnRecordInstall() {
|
|||||||
};
|
};
|
||||||
if (res.code === RESULT_CODE_SUCCESS) {
|
if (res.code === RESULT_CODE_SUCCESS) {
|
||||||
operateData.status = 'done';
|
operateData.status = 'done';
|
||||||
operateData.log = t('views.system.quickStart.stepInstallDone')
|
operateData.log = t('views.system.quickStart.stepInstallDone');
|
||||||
} else {
|
} else {
|
||||||
operateData.status = 'fail';
|
operateData.status = 'fail';
|
||||||
operateData.log = t('views.system.quickStart.stepInstallFail')
|
operateData.log = t('views.system.quickStart.stepInstallFail');
|
||||||
}
|
}
|
||||||
state.operateDataUpgrade.unshift(operateData);
|
state.operateDataUpgrade.unshift(operateData);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
@@ -302,7 +297,6 @@ onMounted(() => {
|
|||||||
>
|
>
|
||||||
<template #icon><ThunderboltOutlined /></template>
|
<template #icon><ThunderboltOutlined /></template>
|
||||||
{{ t('views.system.quickStart.stepInstallText') }}
|
{{ t('views.system.quickStart.stepInstallText') }}
|
||||||
{{ state.selectedRowKeys.length || '' }}
|
|
||||||
</a-button>
|
</a-button>
|
||||||
|
|
||||||
<a-button type="primary" @click="fnStepNext('NeInfoSoftwareLicense')">
|
<a-button type="primary" @click="fnStepNext('NeInfoSoftwareLicense')">
|
||||||
|
|||||||
Reference in New Issue
Block a user