How to change the parameters in the script tag created dynamically in react

1. Because I want to use the Activex control, I have to use ie < script for= ".." EVENT= "." >. < / script > listens for events in this way. Then you need to create script tags dynamically in componentDidMount in react. The question now is how to make the parameters in script change state?
2. Or there are other ways to add the script tag, ask the boss to point out
3.
clipboard.png as shown above, this is to click on the model to have a uObjSubID. How can I make it change how state uses it

Mar.16,2021

the illustration code completely manipulates the script tag with DOM API, and has nothing to do with react.

then your code is written, constantly remove/append new script tags in the callback function.

Menu