<select name="color" v-model="ddlStatus">
<option v-for="item in ddlStatus" :value="item.value" :key="item.value" name="sendValue">{{ item.label }}</option>
</select>
<script type="text/javascript">
var rw = new Vue({
el: "#grid",
data: {
ddlStatus: [
{
value: '0',
label: '不限'
},
{
value: '1',
label: '请假中'
},
{
value: '2',
label: '结束'
}
]
}
});
</script>
<script src="/js/vue.js" type="text/javascript"></script>
欢迎光临 苏飞论坛 (http://www.sufeinet.com/) | Powered by Discuz! X3.4 |