Browse Source

足迹收藏报错

master
xuwenbo 4 years ago
parent
commit
ae204bf1bd
  1. 1
      src/views/shop/collect/index.vue
  2. 3
      src/views/shop/foot/index.vue

1
src/views/shop/collect/index.vue

@ -116,6 +116,7 @@ export default {
methods: {
//
[CRUD.HOOK.beforeRefresh]() {
const query = this.query
this.crud.params[query.type] = 'collect'
return true
}, //

3
src/views/shop/foot/index.vue

@ -4,7 +4,7 @@
<div class="head-container">
<!--如果想在工具栏加入更多按钮可以使用插槽方式 slot = 'left' or 'right'-->
<!--表单组件-->
<el-dialog :close-on-click-modal="false" :before-close="crud.cancelCU" :visible.sync="crud.status.cu > 0" :title="crud.status.title" width="500px">
<el-dialog :close-on-click-modal="false" :before-close="crud.cancelCU" :title="crud.status.title" width="500px">
<el-form ref="form" :model="form" :rules="rules" size="small" label-width="80px">
<el-form-item label="id">
<el-input v-model="form.id" style="width: 370px;" />
@ -116,6 +116,7 @@ export default {
methods: {
//
[CRUD.HOOK.beforeRefresh]() {
const query = this.query
this.crud.params[query.type] = 'foot'
return true
}, //

Loading…
Cancel
Save