web-component-gallery 2.2.16 → 2.2.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/js.umd.js +1 -1
- package/lib/amap-draw/index.jsx +2 -2
- package/package.json +1 -1
package/lib/amap-draw/index.jsx
CHANGED
|
@@ -2,9 +2,9 @@ import AmapSearch from '../amap-comp/AmapSearch.jsx'
|
|
|
2
2
|
import PropTypes from 'ant-design-vue/es/_util/vue-types'
|
|
3
3
|
import { getAMapInstance } from '../../extensions/AMap.js'
|
|
4
4
|
|
|
5
|
-
const BASE_IP =
|
|
5
|
+
const BASE_IP = process.env.VUE_APP_STATIC_URL || location.origin
|
|
6
6
|
|
|
7
|
-
export const AmapDrawProps = {
|
|
7
|
+
export const AmapDrawProps = {
|
|
8
8
|
/** drawEl为地图容器实例名称 */
|
|
9
9
|
drawEl: PropTypes.string.def('AmapDraw'),
|
|
10
10
|
/** drawType为绘制类型
|