@@ -121,6 +121,11 @@ export default {
predictDetail({ sn: this.$route.params.sn }).then(res => {
if (res.status == 200) {
this.detailData = res.data
+ if (res.data.state == 'RUN') {
+ this.current = 2
+ } else {
+ this.current = 0
+ }
} else {
this.detailData = null
}