From b0947006bc9b9f69dca30e7101081bdd4bd7f7c4 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期五, 21 五月 2021 14:31:08 +0800 Subject: [PATCH] 修复算例管理. tasks为空时列表渲染出错的问题 --- 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