Commit 848c54c8 authored by 李增强's avatar 李增强

m

parent 21aa7c92
......@@ -25,9 +25,9 @@ class QMTJ {
ready = new Future<bool>(() async {
_db = new DB();
await _db.init();
uploadPageTj();
return true;
});
uploadPageTj();
}
/// APP 启动
......@@ -184,6 +184,7 @@ class QMTJ {
// 上传页面统计
static void uploadPageTj() async {
await ready;
List<Map> list = await _db.db.query("page_tj", limit: 100, offset: 0);
if (list.length == 0) {
return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment