diff --git a/example/pages/dashboard/index.js b/example/pages/dashboard/index.js index 8739d107..60b02ec4 100644 --- a/example/pages/dashboard/index.js +++ b/example/pages/dashboard/index.js @@ -1,3 +1,8 @@ +import list from '../../config'; import Page from '../../common/page'; -Page(); \ No newline at end of file +Page({ + data: { + list, + }, +}); diff --git a/example/pages/dashboard/index.wxml b/example/pages/dashboard/index.wxml index a0e9bc9b..c07a5491 100644 --- a/example/pages/dashboard/index.wxml +++ b/example/pages/dashboard/index.wxml @@ -1 +1 @@ - \ No newline at end of file + diff --git a/example/pages/dashboard/index.wxss b/example/pages/dashboard/index.wxss deleted file mode 100644 index e69de29b..00000000