1
lauix 2019-04-30 10:24:49 +08:00 1
1、没问题
2、请问怎么实现? |
2
vvvvvcheng OP 类似:
1、建一个 sqlite_util.js 含建库建表 db = new sqlite(path) user_table = db.create_table(name: string, gender: boolean, ....) job_table = ... 2、vue 启动页面挂载 db = require(sqlite_util.js) user = db.fetch(from user where ... order ... limit ...) if(user = null){ user.set(name: 'liming') } else (user.name = "") { user.set(name: 'liming') } |
3
vvvvvcheng OP 3、具体功能页面
user = db.fetch(from user where ... order ... limit ...) 。。。。。 |