提交代码
This commit is contained in:
parent
b6478a6a15
commit
813b19c26c
|
|
@ -77,17 +77,18 @@ export default {
|
|||
this.$emit('button-click', [0, buyNum]);
|
||||
},
|
||||
checkVisible(num) {
|
||||
if (num == 1) {
|
||||
return true;
|
||||
}
|
||||
if (num == -1) {
|
||||
if (this.pageData != null && this.pageData.limitInfo != null) {
|
||||
if (this.pageData.limitInfo.user_test == 2) {
|
||||
if (this.pageData.limitInfo.user_test == 2 && this.pageData.limitInfo.daily_limit == 0 && this.pageData.limitInfo.global_limit == 0) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
if (num == 1) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (this.pageData != null && this.pageData.limitInfo != null) {
|
||||
let limitInfo = this.pageData.limitInfo;
|
||||
if (limitInfo.global_limit > 0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user