提交 159f0327 authored 作者: lihuihui's avatar lihuihui

修改语法错误

上级 195ddb7e
...@@ -10,14 +10,22 @@ const isCard = ref(true) ...@@ -10,14 +10,22 @@ const isCard = ref(true)
const listOptions = { const listOptions = {
remote: { remote: {
httpRequest: getVideoList, httpRequest: getVideoList,
params: { title: '' }, params: { title: '', status: '' },
beforeRequest(params: any) { beforeRequest(params: any) {
// params.type = 选项卡类型 // params.type = 选项卡类型
return params return params
} }
}, },
filters: [ filters: [
{ type: 'select', prop: 'type', label: '状态' }, {
type: 'select',
prop: 'status',
label: '状态',
options: [
{ label: '有效', value: '1' },
{ label: '有效', value: '0' },
]
},
{ type: 'select', prop: 'project_id', label: '项目' }, { type: 'select', prop: 'project_id', label: '项目' },
{ type: 'select', prop: 'category_id', label: '类别' }, { type: 'select', prop: 'category_id', label: '类别' },
{ prop: 'title', slots: 'filter-search' } { prop: 'title', slots: 'filter-search' }
......
...@@ -187,7 +187,7 @@ ...@@ -187,7 +187,7 @@
</el-carousel> </el-carousel>
</div> </div>
<el-icon class="arrow left" @click="swiperChange('prev')"><ArrowLeftBold /></el-icon> <el-icon class="arrow left" @click="swiperChange('prev')"><ArrowLeftBold /></el-icon>
<el-icon class="arrow right" @click="swiperChange"><ArrowRightBold /></el-icon> <el-icon class="arrow right" @click="swiperChange('next')"><ArrowRightBold /></el-icon>
</div> </div>
</el-form-item> </el-form-item>
</el-form> </el-form>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论