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.
@@ -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 = window.NODE_ENV?.RESOURCE_IP || location.origin
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为绘制类型
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-component-gallery",
3
- "version": "2.2.16",
3
+ "version": "2.2.17",
4
4
  "description": "基础vue、antdvue、less实现的私有组件库",
5
5
  "main": "dist/index.umd.js",
6
6
  "files": [