问题已经解决,代码如下:
var Province = mini.getbyName("Province");
var mydata = Province.getData();
for (var i = 0; i < mydata.length; i++) {
if (mydata.value == "99"||mydata.value =="101"||mydata.value =="102")
delete mydata;
}
var data1 = mini.encode(mydata);
Province.setData(data1);
感谢版主的帮助