@@ -166,6 +166,10 @@
<button class="ui disabled small button" style="background-color: #888;"><i class="loading spinner icon" style="color: #fff;"></i>{{$t('notebook.stopping')}}</button>
</div>
</div>
</div>
<div style="text-align: right;padding-bottom: 12px;">
<span style="color: #f2711c;font-size: 12px;">{{$t('notebook.tips')}}</span>
</div>
</div>
</el-dialog>
@@ -314,9 +318,6 @@ export default {
}
this.alertCb = false
}else if(res.data.code===1 && res.status===403){
this.btnStatus[index]=0
}else if(res.data.code==2){
this.btnStatus[index]=0
this.alertCb = true
@@ -325,6 +326,10 @@ export default {
Message.error(res.data.message)
}
}).catch((err)=>{
console.log("------",err,err.response)
if(err.response.status===403 && err.response.data.code===1 ){
location.href=`${AppSubUrl}/authentication/wechat/bind`
}
this.btnStatus[index]=0
this.alertCb = false
Message.error(err)
@@ -354,6 +359,7 @@ export default {
clearInterval(timerCb2)
},
mounted() {
console.log("'asdasd")
this.getNotebookInfo()
const selfData = document.querySelector('#__vue-self-data')
this.fileInfo.file = selfData.getAttribute('data-file')