fix(core): fixed home global sale notice css

This commit is contained in:
OldHawk
2018-01-23 10:29:28 +08:00
parent 773a771ff9
commit dbea9d8bb1
3 changed files with 4 additions and 4 deletions

View File

@@ -44,7 +44,7 @@
var end = start + vm.globalSalesConfig.global.expires;
var now = Date.now();
if (now > showat && now < end) {
if (now > showat && now < end && vm.globalSalesConfig.global.value) {
return true;
} else {
return false;