Demo:导出操作增加loading

This commit is contained in:
wanglin2 2023-11-20 17:49:30 +08:00
parent 3d7f0fcbe7
commit 631892d785

View File

@ -449,9 +449,12 @@ export default {
*/
async export(...args) {
try {
this.mindMap.export(...args)
showLoading()
await this.mindMap.export(...args)
hideLoading()
} catch (error) {
console.log(error)
hideLoading()
}
},