reactor:element-plus 移除 loading 的 fullscreen = true(默认就是 true)
This commit is contained in:
@@ -61,7 +61,6 @@ const submitForm = async () => {
|
||||
// 提交表单
|
||||
const loadingInstance = ElLoading.service({
|
||||
text: $t('ui.actionMessage.updating'),
|
||||
fullscreen: true,
|
||||
});
|
||||
try {
|
||||
// 拼接相关信息
|
||||
|
||||
@@ -75,7 +75,6 @@ function onEdit(row: InfraCodegenApi.CodegenTable) {
|
||||
async function onDelete(row: InfraCodegenApi.CodegenTable) {
|
||||
const loadingInstance = ElLoading.service({
|
||||
text: $t('ui.actionMessage.deleting', [row.tableName]),
|
||||
fullscreen: true,
|
||||
});
|
||||
try {
|
||||
await deleteCodegenTable(row.id);
|
||||
@@ -107,7 +106,6 @@ async function onSync(row: InfraCodegenApi.CodegenTable) {
|
||||
async function onGenerate(row: InfraCodegenApi.CodegenTable) {
|
||||
const loadingInstance = ElLoading.service({
|
||||
text: '正在生成代码...',
|
||||
fullscreen: true,
|
||||
});
|
||||
try {
|
||||
const res = await downloadCodegen(row.id);
|
||||
|
||||
@@ -96,7 +96,6 @@ const [Modal, modalApi] = useVbenModal({
|
||||
// 2. 提交请求
|
||||
const loadingInstance = ElLoading.service({
|
||||
text: '导入中...',
|
||||
fullscreen: true,
|
||||
});
|
||||
try {
|
||||
await createCodegenList(formData);
|
||||
|
||||
Reference in New Issue
Block a user