|
@ -125,13 +125,14 @@ require(["domReady!","mobile", "util"], function(doc,Mobile) {
|
125
|
125
|
var dropSql = "DROP TABLE " + tableName ;
|
126
|
126
|
|
127
|
127
|
Mobile.execSQL(dbName, dropSql, null, null, null, function(result){
|
128
|
|
if("YES" != result)
|
|
128
|
if("YES" != result){
|
129
|
129
|
alert("删除表失败[" + result + "]!");
|
130
|
|
|
131
|
|
queryAll();
|
132
|
|
//删表,新增不能使用
|
133
|
|
funcControl("insert", "e_button-cancel");
|
134
|
|
funcControl("drop", "e_button-cancel");
|
|
130
|
queryAll();
|
|
131
|
}else{
|
|
132
|
//删表,新增不能使用
|
|
133
|
funcControl("insert", "e_button-cancel");
|
|
134
|
funcControl("drop", "e_button-cancel");
|
|
135
|
}
|
135
|
136
|
});
|
136
|
137
|
});
|
137
|
138
|
|