lilei 3 tahun lalu
induk
melakukan
82af421867
2 mengubah file dengan 5 tambahan dan 3 penghapusan
  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 {
         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
       columns: [
         { 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: '产品分类', scopedSlots: { customRender: 'productType' }, width: 140, align: 'center' },
         { title: '产品名称', dataIndex: 'name', align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },