fix: 移除无用loding和危险操作高亮红色
This commit is contained in:
@@ -119,7 +119,6 @@ function fnRecordState() {
|
|||||||
onOk: async () => {
|
onOk: async () => {
|
||||||
if (state.confirmLoading) return;
|
if (state.confirmLoading) return;
|
||||||
state.confirmLoading = true;
|
state.confirmLoading = true;
|
||||||
const hide = message.loading(t('common.loading'), 0);
|
|
||||||
// 勾选的网元数据
|
// 勾选的网元数据
|
||||||
const selectRows = state.data.filter(item =>
|
const selectRows = state.data.filter(item =>
|
||||||
state.selectedRowKeys.includes(item.id)
|
state.selectedRowKeys.includes(item.id)
|
||||||
@@ -139,7 +138,6 @@ function fnRecordState() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
message.success(t('common.operateOk'), 3);
|
message.success(t('common.operateOk'), 3);
|
||||||
hide();
|
|
||||||
state.confirmLoading = false;
|
state.confirmLoading = false;
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@@ -153,7 +151,6 @@ function fnRecordCode() {
|
|||||||
onOk: async () => {
|
onOk: async () => {
|
||||||
if (state.confirmLoading) return;
|
if (state.confirmLoading) return;
|
||||||
state.confirmLoading = true;
|
state.confirmLoading = true;
|
||||||
const hide = message.loading(t('common.loading'), 0);
|
|
||||||
// 勾选的网元数据
|
// 勾选的网元数据
|
||||||
const selectRows = state.data.filter(item =>
|
const selectRows = state.data.filter(item =>
|
||||||
state.selectedRowKeys.includes(item.id)
|
state.selectedRowKeys.includes(item.id)
|
||||||
@@ -179,7 +176,6 @@ function fnRecordCode() {
|
|||||||
saveAs(blob, `Activation_Request_Code_${new Date().getTime()}.txt`);
|
saveAs(blob, `Activation_Request_Code_${new Date().getTime()}.txt`);
|
||||||
}
|
}
|
||||||
|
|
||||||
hide();
|
|
||||||
state.confirmLoading = false;
|
state.confirmLoading = false;
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@@ -226,7 +222,7 @@ function fnStepNext(stepName: 'Done') {
|
|||||||
h('p', t('views.system.quickStart.stepLicenseStepNext')),
|
h('p', t('views.system.quickStart.stepLicenseStepNext')),
|
||||||
h(
|
h(
|
||||||
'div',
|
'div',
|
||||||
{ style: { color: '#ff4d4f' } },
|
{ style: { color: '#f5222d' } },
|
||||||
t('views.system.quickStart.stepLicenseStepNext2')
|
t('views.system.quickStart.stepLicenseStepNext2')
|
||||||
),
|
),
|
||||||
]),
|
]),
|
||||||
@@ -320,7 +316,7 @@ onMounted(() => {
|
|||||||
{{ state.selectedRowKeys.length || '' }}
|
{{ state.selectedRowKeys.length || '' }}
|
||||||
</a-button>
|
</a-button>
|
||||||
|
|
||||||
<a-button type="primary" @click="fnStepNext('Done')">
|
<a-button type="primary" @click="fnStepNext('Done')">
|
||||||
{{ t('views.system.quickStart.stepLicenseEnd') }}
|
{{ t('views.system.quickStart.stepLicenseEnd') }}
|
||||||
</a-button>
|
</a-button>
|
||||||
</a-space>
|
</a-space>
|
||||||
|
|||||||
@@ -77,7 +77,9 @@ function fnModalCancel() {
|
|||||||
@ok="fnModalOk()"
|
@ok="fnModalOk()"
|
||||||
@cancel="fnModalCancel()"
|
@cancel="fnModalCancel()"
|
||||||
>
|
>
|
||||||
{{ t('views.system.setting.resetTipContent') }}
|
<div style="color: #f5222d">
|
||||||
|
{{ t('views.system.setting.resetTipContent') }}
|
||||||
|
</div>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
|
|
||||||
<a-col :lg="12" :md="12" :xs="24">
|
<a-col :lg="12" :md="12" :xs="24">
|
||||||
|
|||||||
Reference in New Issue
Block a user