mirror of
https://github.com/dataease/dataease.git
synced 2026-05-16 22:41:06 +08:00
feat(数据集): 计算字段中的 SQL 片段在传输过程中进行加密处理 #15446
This commit is contained in:
@@ -71,7 +71,7 @@ export interface Table {
|
||||
unableCheck?: boolean
|
||||
}
|
||||
|
||||
const originNameHandle = arr => {
|
||||
const originNameHandle = (arr = []) => {
|
||||
arr.forEach(ele => {
|
||||
if (ele.extField === 2) {
|
||||
ele.originName = Base64.encodeURI(ele.originName)
|
||||
@@ -79,7 +79,7 @@ const originNameHandle = arr => {
|
||||
})
|
||||
}
|
||||
|
||||
const originNameHandleBack = arr => {
|
||||
const originNameHandleBack = (arr = []) => {
|
||||
arr.forEach(ele => {
|
||||
if (ele.extField === 2) {
|
||||
ele.originName = Base64.decode(ele.originName)
|
||||
|
||||
Reference in New Issue
Block a user