From 133cfa50d6429504b6c18a36c20472a6a872805a Mon Sep 17 00:00:00 2001 From: long <515897141@qq.com> Date: 星期一, 07 六月 2021 15:08:05 +0800 Subject: [PATCH] 添加规则模板页 --- src/pages/demo/index.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/pages/demo/index.vue b/src/pages/demo/index.vue index 4491e16..b8d386c 100644 --- a/src/pages/demo/index.vue +++ b/src/pages/demo/index.vue @@ -93,13 +93,16 @@ :limit.sync="pageSize" @pagination="getList" /> + + <back-to-top :visibility-height="300" :back-position="50" transition-name="fade" /> </div> </template> <script> - +import BackToTop from '@/components/BackToTop' export default { name: 'Demo', + components: { BackToTop }, data() { return { showSearch: true, // 鏄惁鏄剧ず鎼滅储鍖� @@ -293,7 +296,7 @@ }, () => { this.$messageSuc('淇濆瓨鎴愬姛') this.hideDialog() - this.reGetList() + isAdd ? this.reGetList() : this.getList() }) } } -- Gitblit v1.8.0