style: lint fix
This commit is contained in:
@@ -26,7 +26,7 @@ defineOptions({ name: 'MDEditor' })
|
||||
let post = ref({})
|
||||
let btnLoading = ref(false)
|
||||
|
||||
function handleSavePost(e) {
|
||||
function handleSavePost() {
|
||||
btnLoading.value = true
|
||||
$message.loading('正在保存...')
|
||||
setTimeout(() => {
|
||||
|
@@ -67,7 +67,7 @@ function onBeforeUpload({ file }) {
|
||||
return true
|
||||
}
|
||||
|
||||
async function handleUpload({ file, onFinish, onError }) {
|
||||
async function handleUpload({ file, onFinish }) {
|
||||
if (!file || !file.type) {
|
||||
$message.error('请选择文件')
|
||||
}
|
||||
|
Reference in New Issue
Block a user