refactor: request error tip

This commit is contained in:
张传龙
2022-09-04 11:35:30 +08:00
parent 3a38adc71e
commit f1bc9edbac
14 changed files with 97 additions and 98 deletions

View File

@@ -1,4 +1,4 @@
import { isNullOrWhitespace } from '../utils/is'
import { isNullOrWhitespace } from '@/utils/is'
const ACTIONS = {
view: '查看',
@@ -62,7 +62,6 @@ export default function ({ name, initForm = {}, doCreate, doDelete, doUpdate, re
modalLoading.value = modalVisible.value = false
data && refresh(data)
} catch (error) {
$message.error('操作失败')
modalLoading.value = false
}
})