diff --git a/src/router/index.js b/src/router/index.js index 83d23584..f7a483f6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -46,12 +46,12 @@ const ErrorLog = _import('errlog/index'); /* excel */ const ExcelDownload = _import('excel/index'); -const SelectExcelDownload = _import('excel/excel2'); +const SelectExcelDownload = _import('excel/selectExcel'); /* theme */ const Theme = _import('theme/index'); -/* example*/ +/* example */ const TableLayout = _import('example/table/index'); const DynamicTable = _import('example/table/dynamictable'); const Table = _import('example/table/table'); diff --git a/src/views/excel/excel2.vue b/src/views/excel/selectExcel.vue similarity index 90% rename from src/views/excel/excel2.vue rename to src/views/excel/selectExcel.vue index 3ae51152..b03a9931 100644 --- a/src/views/excel/excel2.vue +++ b/src/views/excel/selectExcel.vue @@ -1,14 +1,16 @@ 导出excel - + + + {{scope.$index}} + {{scope.row.title}} @@ -20,11 +22,13 @@ {{scope.row.author}} + {{scope.row.pageviews}} + @@ -35,6 +39,7 @@ + \ No newline at end of file +