解决办法:
将变量后加角标如,变量名id,引用时 ${id_1}
很感谢这位博主:
https://blog.csdn.net/qq_39905592/article/details/77972019