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() }) } }