Commit 5175a952 authored by Chunchi Che's avatar Chunchi Che

update sql-wasm.wasm

parent 80659000
Pipeline #20244 passed with stages
in 4 minutes and 33 seconds
...@@ -37,7 +37,7 @@ export interface sqliteResult { ...@@ -37,7 +37,7 @@ export interface sqliteResult {
let YGODB: Database | null = null; let YGODB: Database | null = null;
const sqlPromise = initSqlJs({ const sqlPromise = initSqlJs({
locateFile: (file) => `/node_modules/sql.js/dist/${file}`, locateFile: (file) => `/assets/${file}`,
}); });
// FIXME: 应该有个返回值,告诉业务方本次请求的结果,比如初始化DB失败 // FIXME: 应该有个返回值,告诉业务方本次请求的结果,比如初始化DB失败
......
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