Browse Source

bug 修复

lilei 3 years ago
parent
commit
82af421867
2 changed files with 5 additions and 3 deletions
  1. 4 2
      src/views/Home.vue
  2. 1 1
      src/views/productManagement/newProduct/list.vue

+ 4 - 2
src/views/Home.vue

@@ -90,8 +90,10 @@ export default {
       } else {
       } else {
         vm.openResetPwd = true
         vm.openResetPwd = true
       }
       }
-      // 判断是否有新产品上线
-      vm.hasNewProduct()
+      if (from.name == 'login') {
+        // 判断是否有新产品上线
+        vm.hasNewProduct()
+      }
     })
     })
   }
   }
 }
 }

+ 1 - 1
src/views/productManagement/newProduct/list.vue

@@ -129,7 +129,7 @@ export default {
       exportLoading: false, // 导出loading
       exportLoading: false, // 导出loading
       columns: [
       columns: [
         { title: '序号', dataIndex: 'no', width: 50, align: 'center' },
         { title: '序号', dataIndex: 'no', width: 50, align: 'center' },
-        { title: '上线日期', dataIndex: 'createDate', width: 140, align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '上线日期', dataIndex: 'onlineAuditTime', width: 140, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品品牌', dataIndex: 'productBrandName', width: 120, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品品牌', dataIndex: 'productBrandName', width: 120, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品分类', scopedSlots: { customRender: 'productType' }, width: 140, align: 'center' },
         { title: '产品分类', scopedSlots: { customRender: 'productType' }, width: 140, align: 'center' },
         { title: '产品名称', dataIndex: 'name', align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
         { title: '产品名称', dataIndex: 'name', align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },