|
@@ -222,13 +222,10 @@
|
|
|
async addreev(res, x) {
|
|
|
this.address = x
|
|
|
this.degree = res
|
|
|
-
|
|
|
-
|
|
|
},
|
|
|
//手动录入调用
|
|
|
manualentry() {
|
|
|
if (this.number_a.length != 0) {
|
|
|
-
|
|
|
if (this.degree == undefined) {
|
|
|
uni.showToast({
|
|
|
icon: 'none',
|
|
@@ -251,9 +248,7 @@
|
|
|
scanAddress: this.address
|
|
|
}
|
|
|
}).then(res => {
|
|
|
-
|
|
|
if (res.data.code == 513) {
|
|
|
-
|
|
|
let name = 'regular'
|
|
|
this.tipss(res, name)
|
|
|
return
|
|
@@ -270,6 +265,12 @@
|
|
|
this.tipss(res, name)
|
|
|
return
|
|
|
}
|
|
|
+ if (res.data.code == 516) {
|
|
|
+
|
|
|
+ let name = 'prohibit'
|
|
|
+ this.tipss(res, name)
|
|
|
+ return
|
|
|
+ }
|
|
|
if (res.data.code == 517) {
|
|
|
|
|
|
let name = 'atypism'
|