vueruntimeesmjs4605 Vue warn Error in v-on handler TypeError Cannot set properties of null setting datathisbmapExportdata = JSONstringifydata;
The error message suggests that you are trying to set the property data on a null object in your Vue component.
To fix this issue, you need to make sure that this.bmapExport is not null before trying to set its data property. You can do this by initializing this.bmapExport with an empty object in your component's data property:
data() {
return {
bmapExport: {
data: null
}
}
},
Then, you can safely set the data property:
this.bmapExport.data = JSON.stringify(data);
``
原文地址: http://www.cveoy.top/t/topic/iK9b 著作权归作者所有。请勿转载和采集!