Commit d569240d authored by 田翔's avatar 田翔

fix: 坐标写死问题

parent 750ec09e
{
"name": "panda-xform",
"version": "4.7.7",
"description": "4.7.7 批量编辑修改",
"version": "4.7.8",
"description": "4.7.8 坐标写死问题",
"keywords": [
"panda-xform"
],
......
......@@ -143,7 +143,7 @@ const Coordinate = (props) => {
useEffect(() => {
if (addons) {
addons.setValueByPath(addons.dataPath, '12734143.782374073,3560622.6587929404')
addons.setValueByPath(addons.dataPath, presetValue)
} else {
onChange(presetValue)
}
......
......@@ -116,7 +116,7 @@ const Device = (props) => {
if (presetValue) {
geometrystr = presetValue
}
addons.setValueByPath(addons.dataPath, '12734114.051643973,3560550.07264259')
addons.setValueByPath(addons.dataPath, presetValue)
} else {
onChange(presetValue)
}
......
......@@ -93,7 +93,7 @@ const DrawArea = (props) => {
useEffect(() => {
if (addons) {
addons.setValueByPath(addons.dataPath, "{\"rings\":[[[12734029.232350387,3560655.9516569674],[12734035.439494528,3560554.380207394],[12734178.203809762,3560611.373076321],[12734168.046664804,3560614.758791307]]]}")
addons.setValueByPath(addons.dataPath, presetValue)
} else {
onChange(presetValue)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment