|
|
@@ -172,6 +172,13 @@ export default {
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
+ if (this.value === this.initial) {
|
|
|
+ this.$message({
|
|
|
+ type: 'warning',
|
|
|
+ message: `${this.config.tipText}不能相同`
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
authcodeSend({
|
|
|
[this.config.typeKey]: this.value
|
|
|
})
|
|
|
@@ -215,6 +222,13 @@ export default {
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
+ if (this.value === this.initial) {
|
|
|
+ this.$message({
|
|
|
+ type: 'warning',
|
|
|
+ message: `${this.config.tipText}不能相同`
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
authcodeCheck({
|
|
|
[this.config.typeKey]: this.value,
|
|
|
[this.config.codeKey]: this.code
|