报错如下:
错误代码:
searchList() { this.entity = {} this.edit = null let query = {} query.traceCode = this.code this.loading = true codeApi.queryTraceCode(query).then(res => { ... }, err => { console.error(err) }).finally(() => { this.loading = false }) },
数据模型:
data() { return { edit: { name: '', prepnSpec: null, pkgSpec: null, expiryTem: null, approvalLicenceNo: null, produceDate: null, expiryDate: null, batchNo: null, produceEntName: null, }, } },
解决办法:
searchList() { this.entity = {} this.edit = {} let query = {} query.traceCode = this.code this.loading = true codeApi.queryTraceCode(query).then(res => { ... }, err => { console.error(err) }).finally(() => { this.loading = false }) },
- properties TypeError reading Cannot 39properties typeerror reading cannot properties typeerror undefined reading properties undefined reading cannot typeerror undefined property cannot properties typeerror express reading pickalgorithm properties reading cannot properties typeerror content reading parentelement properties reading cannot elementplus properties reading cannot resetupscroll typeerror property cannot