基础的配置

页面代码

ibps-location基本默认的配置代码展示。直接写入模板内,传入对应得属性值即可。

<template>
        ...
        <!-- 定位 -->
          <ibps-location
            v-model="fieldItem.field_options.default_value"
            :limits="fieldOptions.limits"
            :lnglat="fieldOptions.lnglat"
            :adjustable="fieldOptions.adjustable"
            :radius="fieldOptions.radius"
          />
        ...
</template>

<script>
import IbpsLocation from '@/components/ibps-location'

export default {
  components:{
    IbpsLocation
  }
  ...
}
</script>

详细的请查看API进行使用。

文档更新时间: 2021-06-02 11:49   作者:admin