修改接口

master
夜笙歌 11 months ago
parent 865e676e60
commit 6e630be2f7

@ -10,7 +10,7 @@ let screenData = (e) => {
export function mixData(params) {
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);
(params?.f || (() => {
}))(data)

@ -2795,7 +2795,7 @@ export default {
f: (e) => {
// this.scrollTableData1 = e
getFoamingData({
"PRODUCT_LINE_CODE": "CX_01"
"PRODUCT_LINE_CODE": "CX_02"
}).then(e => {
console.log(e)
let table = e.data?.map(val => {

Loading…
Cancel
Save