修复bug
This commit is contained in:
@@ -46,7 +46,8 @@ function getConfig () {
|
||||
data: { uid: pubInfo.uid },
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
$('.box p b').text(res.data.weekMaxValue);
|
||||
$('.box p .b2').text(res.data.weekLimitCount);
|
||||
$('.box p .b1').text(res.data.minValue);
|
||||
} else if (res.code ? res.code == 401 : JSON.parse(res).code == 401) {
|
||||
window.location.href = './login.html'
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user