|
@@ -154,7 +154,8 @@ export default defineComponent({
|
|
|
}
|
|
|
}
|
|
|
const mapDraw = (type) => {
|
|
|
- SelectDraw(props.map, type).then(({feature, wkt}) => {
|
|
|
+ SelectDraw(props.map, type).then(({feature, wkt}: any) => {
|
|
|
+ feature.set('featureType', 'statisticFeature')
|
|
|
state.cusTransfer.selectParams.type = type
|
|
|
state.cusTransfer.selectParams.wkt = wkt
|
|
|
initData()
|