Browse Source

no message

linwenxin 1 năm trước cách đây
mục cha
commit
5288ff6b93
1 tập tin đã thay đổi với 18 bổ sung0 xóa
  1. 18 0
      src/views/mallManagement/setActivity/index.vue

+ 18 - 0
src/views/mallManagement/setActivity/index.vue

@@ -445,6 +445,24 @@ export default {
 					)
 				}
 			}
+      if (item.jname == 'startTime') {
+				defaultData.render = (h, { row, index, column }) => {
+					return (
+						<div style="padding:0 6px;cursor: pointer;">
+							{row.startTime.split(" ")[0]}
+						</div>
+					)
+				}
+			}
+      if (item.jname == 'endTime') {
+				defaultData.render = (h, { row, index, column }) => {
+					return (
+						<div style="padding:0 6px;cursor: pointer;">
+							{row.endTime.split(" ")[0]}
+						</div>
+					)
+				}
+			}
       return defaultData
     },
     // 操作按钮