修改自定义数据

master
夜笙歌 4 months ago
parent 68f15adb50
commit 3d143954c8

@ -23,7 +23,7 @@ export function getSimulateData(query) {
isMsg:true,
url: '/base/customData/list',
method: 'get',
params: {customType: 1, ...query}
params: query
})
}

@ -8,8 +8,8 @@ let screenData = (e) => {
}
}
export function mixData(params) {
getSimulateData({customCode: params?.e || ''}).then(val => {
export function mixData(params,customType=1) {
getSimulateData({customCode: params?.e || '',customType}).then(val => {
if (val && val.rows.length > 0 && val.rows[0].isFlag === 0) {
let data = JSON.parse(val.rows[0].customData);
(params?.f || (() => {

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save