Ver Fonte

冷却时间

panhui há 3 anos atrás
pai
commit
e3e35db61f
1 ficheiros alterados com 4 adições e 1 exclusões
  1. 4 1
      src/views/asset/Detail.vue

+ 4 - 1
src/views/asset/Detail.vue

@@ -919,7 +919,10 @@ export default {
             getHolds()
                 .then(() => {
                     console.log(_this.info.type === 'PICTURE');
-                    if (_this.info.holdDays === 0 && _this.info.source === 'OFFICIAL') {
+                    if (
+                        (_this.info.holdDays === 0 || _this.info.holdDays === '0') &&
+                        _this.info.source === 'OFFICIAL'
+                    ) {
                         return _this.$http.get('/sysConfig/get/OFFICIAL_CONSIGNMENT').then(res => {
                             holdDays = Number(res.value);
                             return Promise.resolve();