|
var table = new this.Table("info");
var find = this.form.get("ht_id").getData();
find = "o.ht_id = '" + find + "'"
table.rowCountWhere( find , function(data){
var test = data.value;
}.bind(this), function(xhr){});
if( test == 1 ){
return true;
}else{
return false;
}
无法赋值test,以下是调试结果
- type: "success", data: {value: 1}, message: "", date: "2022-06-19 00:12:53", spent: 21, size: -1,…}
- count: 0
- data: {value: 1}
- date: "2022-06-19 00:12:53"
- message: ""
- position: 0
- size: -1
- spent: 21
- type: "success"
|
|