.where({ biaoti:/小米/i }) 这里面的小米怎么换成变量呀
正则表达式?
var s='小米'; var re=new RegExp(s,'i') .where({ biaoti:re })
就是把小米替换成input里输入的 //里不知道能不能加变量