<template> <div> <h-input-custom v-model="title" :propData="selectData[0]"></h-input-custom> <br> <!-- <h-input-custom v-model="title" :propData="selectData[1]"></h-input-custom> --> </div> </template> <script> export default { data() { return { title: '', selectData: [ { title: '标题:', style: { width: '180px' } }, { title: '状态:', style: { width: '180px' }, options: [ { value: '', label: '全部' }, { value: 0, label: '已下架' }, { value: 1, label: '已发布' }, { value: 2, label: '未发布' }, { value: 3, label: '待审核' }, { value: 4, label: '审核不通过' } ] } ], } } } </script>
← ndialog 对话窗 h-select-custom 下拉框组件 →