Write before each request to the background //Open the mask layer let loading = this.$loading({ lock: true, text:'Loading', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.7)' })
loading.close();//Close the mask layer
Write before each request to the background //Open the mask layer let loading = this.$loading({ lock: true, text:'Loading', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.7)' })
loading.close();//Close the mask layer