xjkms

Results comments of xjkms

gays,try these two commands: `npm install karma --save` `npm install http-server -D` according to https://github.com/angular/angular-phonecat/issues/303 this really solve my problem, hope it helps you.

只支持字符类型的关联么?如果是数组应该怎么弄呢, e.g: Mock.mock(url, { 'status|1': ['状态1', '状态2', '状态3', '状态4', '状态5'], 'statusCode|+1': [0, 1, 2, 3, 4], 'other': '@statusCode'===0? '': '@integer()' }); 1.status和statusCode对应,如何通过生成的statusCode,生成对应的status呢? 2.另外,我希望other的值在statusCode===0的时候为空,其他情况生成一个整数,但是上面的写法判断永远不成立,是value目前还不支持这种复杂写法吗? 谢谢

First of all, thank you for responsing. The instance you create on fiddle is nearly what I mean. In order to make the test easier, I change the max to...

Yes, that's what I need right now. You are doing a great job. Hope you can make it better and easier to use. Thank you.

我也有同样的问题,upload的500k上限能否调整?如果可以该如何调整?

是的,我也发现这个问题了,trigger使用数组方式赋值,提交的时候不会验证