通过id更改已初始化的ReactJs组件的属性

时间:2018-01-18 08:28:17

标签: reactjs components react-leaflet

我正在使用react-leaflet在 String path1 = "C:\\Users\\yadavd2\\eclipse-workspace\\Test_Project\\Hello World\\ABC.bat"; URI u = new URI(path.trim().replaceAll("\\u0020","%20")); File file = new File(u.getPath()); System.out.println("path1------>"+file.getPath()); String[] command = {"cmd.exe", "/C", "Start", path1}; Process p = Runtime.getRuntime().exec(command); 函数中创建一些多边形。

我需要后者访问其中一个并更改部分属性,例如更改 map() fillCollor

fillOpacity

如何从其他组件访问其中一个创建的组件?

0 个答案:

没有答案