足迹收藏报错
This commit is contained in:
@ -116,6 +116,7 @@ export default {
|
||||
methods: {
|
||||
// 获取数据前设置好接口地址
|
||||
[CRUD.HOOK.beforeRefresh]() {
|
||||
const query = this.query
|
||||
this.crud.params[query.type] = 'collect'
|
||||
return true
|
||||
}, // 新增与编辑前做的操作
|
||||
|
@ -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
|
||||
}, // 新增与编辑前做的操作
|
||||
|
Reference in New Issue
Block a user