data is rendered from a list. If you define a data in data and change it when you click, it will change how all the text is clicked.
Click to change the text as shown in the following figure. Click to change the text to follow WeChat Mini Programs"s method of operating dom similar to js. It seems that you can only get the width and height of dom. These location information can not get the text. Please take a look at