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 @@
搜索
添加
导出
+ 显示审核人
-
+
@@ -46,6 +47,12 @@
+
+
+ {{scope.row.auditor}}
+
+
+
@@ -188,7 +195,9 @@
create: '创建'
},
dialogPvVisible: false,
- pvData: []
+ pvData: [],
+ showAuditor: false,
+ tableKey: 0
}
},
created() {