From fbef9bd81f5fb3142f4ff2017ec320b2cc2e2107 Mon Sep 17 00:00:00 2001 From: nemo-shen Date: Tue, 4 Jan 2022 23:44:59 +0800 Subject: [PATCH] chore: restore dashboard --- example/pages/dashboard/index.js | 7 ++++++- example/pages/dashboard/index.wxml | 2 +- example/pages/dashboard/index.wxss | 0 3 files changed, 7 insertions(+), 2 deletions(-) delete mode 100644 example/pages/dashboard/index.wxss 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