From dfd7ce8d407a5f66df7b81e72581c85e12825a60 Mon Sep 17 00:00:00 2001 From: Pan Date: Thu, 27 Apr 2017 22:56:25 +0800 Subject: [PATCH] refine table example --- src/mock/article_table.js | 1 + src/views/example/table.vue | 13 +++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/mock/article_table.js b/src/mock/article_table.js index 1cd886e6..a85f74a3 100644 --- a/src/mock/article_table.js +++ b/src/mock/article_table.js @@ -9,6 +9,7 @@ for (let i = 0; i < count; i++) { id: '@increment', timestamp: +Mock.Random.date('T'), author: '@cname', + auditor: '@cname', title: '@ctitle(10, 20)', forecast: '@float(0, 100, 2, 2)', importance: '@integer(1, 3)', diff --git a/src/views/example/table.vue b/src/views/example/table.vue index bf288937..8631df1f 100644 --- a/src/views/example/table.vue +++ b/src/views/example/table.vue @@ -17,9 +17,10 @@ 搜索 添加 导出 + 显示审核人 - + + + + +