mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-21 10:27:44 +08:00
Demo:导出操作增加loading
This commit is contained in:
parent
3d7f0fcbe7
commit
631892d785
@ -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()
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user