recently made a Mini Program, because several different pages have list information, so the list is used as a common component list. You want to pass the interface api of the current page to the list common component when referencing on different pages, so that the list will display different data on different pages. However, when passing parameters, the wxml template file of the list common component can receive the parameters passed by the parent component, and the js file can not get the parameters. Tried that this.properties.url received a null value. Relations tried and couldn"t find it. Ask the Great God for advice
the following is the parent index.wxml file
index.js
list.wxml
list.js
Big Boss, please take a look at what"s wrong. Thank you
.