diff --git a/libs/esm/t4t-fe.js b/libs/esm/t4t-fe.js index 9b5250e..66eb588 100644 --- a/libs/esm/t4t-fe.js +++ b/libs/esm/t4t-fe.js @@ -143,7 +143,7 @@ async function autocomplete (search, col, record, parentColVal) { query.parentTableColName = parentTableColName query.parentTableColVal = parentColVal || record[parentCol] } - const { data } = await http.get(urlPrefix + '/t4t/autocomplete', query) + const { data } = await http.get(urlPrefix + '/t4t/autocomplete/' + tableName, query) res = data } catch (err) { console.log('autocomplete', err.message)