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