From afa4e7baaefb69438052503b82fdfd55621cfc91 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期五, 24 九月 2021 17:03:14 +0800 Subject: [PATCH] 完善wasm播放器,添加preload --- src/api/baseLibrary.ts | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api/baseLibrary.ts b/src/api/baseLibrary.ts index 16c29cc..e12fbf9 100644 --- a/src/api/baseLibrary.ts +++ b/src/api/baseLibrary.ts @@ -6,9 +6,9 @@ */ export const getSyncTables = (query: any) => { return request({ - url: "/data/api-v/dbtable/queryDbTables/1", + url: "/data/api-v/dbtable/queryDbTables", method: "post", - data: query + data: { isSync: 1 } }); }; @@ -18,9 +18,9 @@ */ export const getLocalTables = (query: any) => { return request({ - url: "/data/api-v/dbtable/queryDbTables/2", + url: "/data/api-v/dbtable/queryDbTables", method: "post", - data: query + data: { isSync: 2 } }); }; -- Gitblit v1.8.0