fix: 修复 layui.router 返回 href 属性

This commit is contained in:
xuexb
2018-01-08 04:01:08 +08:00
parent 974bc86d9c
commit cbba1d984a
2 changed files with 15 additions and 2 deletions

View File

@@ -23,6 +23,8 @@ body{padding: 50px 100px;}
<input type="text" class="layui-input" id="test1">
</div>
<div id="test-div">111</div>
<br><br><hr><br>
日期选择器:
@@ -316,6 +318,14 @@ layui.use('laydate', function(){
console.log(value)
}
});
laydate.render({
elem: '#test-div',
min: '2017-7-7',
max: '2017-7-8',
value: '2017-7-8'
});
});
</script>
</body>