@@ -77,7 +77,7 @@
alert('数据参数不对');
return
}
- if (type != 1 && id == undefined) {
+ if (type == 1 && id == undefined) {
alert('数据参数不对 没有id');