fix: sucess message

pull/5/MERGE
xingyu 2023-04-27 12:57:37 +08:00
parent f97f541f30
commit 611825b0f7
34 changed files with 34 additions and 34 deletions

View File

@ -38,8 +38,8 @@ async function handleSubmit() {
setModalProps({ confirmLoading: true })
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -46,8 +46,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -46,8 +46,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -46,8 +46,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -46,8 +46,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -46,8 +46,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -46,8 +46,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -40,8 +40,8 @@ async function handleSubmit() {
await sendMessage(values)
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -46,8 +46,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -37,8 +37,8 @@ async function handleSubmit() {
await updateUser(values)
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -46,8 +46,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -46,8 +46,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -46,8 +46,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -50,8 +50,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -46,8 +46,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -46,8 +46,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -46,8 +46,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -46,8 +46,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -46,8 +46,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -51,8 +51,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -46,8 +46,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -46,8 +46,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -46,8 +46,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -70,8 +70,8 @@ async function handleSubmit() {
})
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -46,8 +46,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -60,8 +60,8 @@ async function handleSubmit() {
await assignRoleDataScope(values)
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -46,8 +46,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -46,8 +46,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -46,8 +46,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -46,8 +46,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -73,8 +73,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -39,8 +39,8 @@ async function handleSubmit() {
setModalProps({ confirmLoading: true })
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -46,8 +46,8 @@ async function handleSubmit() {
}
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}

View File

@ -41,8 +41,8 @@ async function handleSubmit() {
await assignUserRole({ userId: values.id, roleIds: values.roleIds })
closeModal()
emit('success')
} finally {
createMessage.success(t('common.saveSuccessText'))
} finally {
setModalProps({ confirmLoading: false })
}
}