App embeds h5 to get data that cannot be assigned.

getData(){
    let customer_id = localStorage.getItem("customer_id")
            let param = new URLSearchParams();
            param.append("customer_id", customer_id);
            this.$http({
                method: "post",
                url: "/Cases/list.do",
                data: param
            })
            .then(({data})=>{
                data.data.medicationCasesVoList.forEach((e)=>{
                        if(e.medicationName !== ""){
                            this.medicationCasesVoList.medicationName = e.medicationName;
                        }
                        if(e.medicationTime !== ""){
                            this.medicationCasesVoList.medicationTime = e.medicationTime;
                            // 
                            this.changeTime1()
                        }
                    })
}
app

clipboard.png

Apr.12,2021

does not understand what you are going to do, but the hint means that medicationCasesVoList does not exist in data


this you need to determine whether localStrong, is supported in app and then solve the following problems


your writing is too new, the js of the mobile browser does not support it.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be6a1a-31828.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be6a1a-31828.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?