Demo:导出操作增加loading
This commit is contained in:
parent
3d7f0fcbe7
commit
631892d785
@ -449,9 +449,12 @@ export default {
|
|||||||
*/
|
*/
|
||||||
async export(...args) {
|
async export(...args) {
|
||||||
try {
|
try {
|
||||||
this.mindMap.export(...args)
|
showLoading()
|
||||||
|
await this.mindMap.export(...args)
|
||||||
|
hideLoading()
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error)
|
console.log(error)
|
||||||
|
hideLoading()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user