提交 98f71475 编写于 作者: F Frans

Merge branch 'v2' of https://github.com/jdf2e/nutui into v2

......@@ -8,8 +8,8 @@ describe('ImagePicker.vue',() => {
});
it('点击删除图片',() => {
wrapper.setProps({
imgList:[{
wrapper.setData({
list:[{
id:1,
src:"//img1.360buyimg.com/da/jfs/t1/4436/26/9691/78074/5bad0668E7ce89ec6/c234b749ae9e7332.jpg"
}]
......@@ -21,11 +21,13 @@ describe('ImagePicker.vue',() => {
});
it('允许上传最多1张',() => {
wrapper.setProps({
imgList:[{
wrapper.setData({
list:[{
id:1,
src:"//img1.360buyimg.com/da/jfs/t1/4436/26/9691/78074/5bad0668E7ce89ec6/c234b749ae9e7332.jpg"
}],
}]
});
wrapper.setProps({
max:1
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册