vueマスクレイヤーの読み込み

バックグラウンドへの各リクエストの前に書き込む


//マスクレイヤーを開く
  letloading 
= this。$ loading({ 
  lock:true、
  text: 'loading'、spinner 
  : 'el-icon-loading'、background: 'rgba(0、0 、0、0.7) ' 
})
load.close(); //マスクレイヤーを閉じます

おすすめ

転載: blog.csdn.net/weixin_44727080/article/details/114842280