feat:控制台警告修复
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
import { reactive, toRaw, watch, ref } from 'vue';
|
import { reactive, toRaw, watch, ref } from 'vue';
|
||||||
import { ProModal } from 'antdv-pro-modal';
|
import { ProModal } from 'antdv-pro-modal';
|
||||||
import { message, Form, Progress } from 'ant-design-vue/es';
|
import { message, Form, Progress } from 'ant-design-vue/es';
|
||||||
|
import { CheckCircleOutlined, CloseCircleOutlined } from '@ant-design/icons-vue';
|
||||||
import useI18n from '@/hooks/useI18n';
|
import useI18n from '@/hooks/useI18n';
|
||||||
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
|
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
|
||||||
import { getOAMFile, saveOAMFile, serviceNeAction } from '@/api/ne/neInfo';
|
import { getOAMFile, saveOAMFile, serviceNeAction } from '@/api/ne/neInfo';
|
||||||
@@ -385,9 +386,13 @@ watch(
|
|||||||
>
|
>
|
||||||
<div style="display: flex; justify-content: space-between; align-items: center;">
|
<div style="display: flex; justify-content: space-between; align-items: center;">
|
||||||
<span>
|
<span>
|
||||||
<a-icon
|
<CheckCircleOutlined
|
||||||
:type="result.success ? 'check-circle' : 'close-circle'"
|
v-if="result.success"
|
||||||
:style="{ color: result.success ? '#52c41a' : '#ff4d4f', marginRight: '8px' }"
|
:style="{ color: '#52c41a', marginRight: '8px' }"
|
||||||
|
/>
|
||||||
|
<CloseCircleOutlined
|
||||||
|
v-else
|
||||||
|
:style="{ color: '#ff4d4f', marginRight: '8px' }"
|
||||||
/>
|
/>
|
||||||
{{ result.neType }}-{{ result.neId }} ({{ result.neName }})
|
{{ result.neType }}-{{ result.neId }} ({{ result.neName }})
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import { ProModal } from 'antdv-pro-modal';
|
|||||||
import { message, Form, Progress, Upload } from 'ant-design-vue/es';
|
import { message, Form, Progress, Upload } from 'ant-design-vue/es';
|
||||||
import { UploadRequestOption } from 'ant-design-vue/es/vc-upload/interface';
|
import { UploadRequestOption } from 'ant-design-vue/es/vc-upload/interface';
|
||||||
import { FileType } from 'ant-design-vue/es/upload/interface';
|
import { FileType } from 'ant-design-vue/es/upload/interface';
|
||||||
|
import { UploadOutlined, CheckCircleOutlined, CloseCircleOutlined } from '@ant-design/icons-vue';
|
||||||
import useI18n from '@/hooks/useI18n';
|
import useI18n from '@/hooks/useI18n';
|
||||||
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
|
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
|
||||||
import { changeNeLicense, getNeLicenseByTypeAndID } from '@/api/ne/neLicense';
|
import { changeNeLicense, getNeLicenseByTypeAndID } from '@/api/ne/neLicense';
|
||||||
@@ -408,9 +409,13 @@ watch(
|
|||||||
>
|
>
|
||||||
<div style="display: flex; justify-content: space-between; align-items: center;">
|
<div style="display: flex; justify-content: space-between; align-items: center;">
|
||||||
<span>
|
<span>
|
||||||
<a-icon
|
<CheckCircleOutlined
|
||||||
:type="result.success ? 'check-circle' : 'close-circle'"
|
v-if="result.success"
|
||||||
:style="{ color: result.success ? '#52c41a' : '#ff4d4f', marginRight: '8px' }"
|
:style="{ color: '#52c41a', marginRight: '8px' }"
|
||||||
|
/>
|
||||||
|
<CloseCircleOutlined
|
||||||
|
v-else
|
||||||
|
:style="{ color: '#ff4d4f', marginRight: '8px' }"
|
||||||
/>
|
/>
|
||||||
{{ result.neType }}-{{ result.neId }} ({{ result.neName }})
|
{{ result.neType }}-{{ result.neId }} ({{ result.neName }})
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user