|
@@ -401,7 +401,11 @@ function getMineVip() {
|
|
|
checked.value = res.isAuto
|
|
checked.value = res.isAuto
|
|
|
upInterval.value = res.upInterval
|
|
upInterval.value = res.upInterval
|
|
|
downInterval.value = res.downInterval
|
|
downInterval.value = res.downInterval
|
|
|
- return http.get('/vip/get/' + res.vipId)
|
|
|
|
|
|
|
+ if (res.vipId) {
|
|
|
|
|
+ return http.get('/vip/get/' + res.vipId)
|
|
|
|
|
+ } else {
|
|
|
|
|
+ return Promise.reject()
|
|
|
|
|
+ }
|
|
|
})
|
|
})
|
|
|
.then(res => {
|
|
.then(res => {
|
|
|
maxNumber.value = res.validityPeriod
|
|
maxNumber.value = res.validityPeriod
|