@sagbt/xt-map-v3
v1.1.1
Published
## 安装方式 ### With npm ``` bash $ npm install @sagbt/xt-map-v3 ```
Readme
@sagbt/xt-map-v3
安装方式
With npm
$ npm install @sagbt/xt-map-v3使用:
<vqqmap v-model="location" @update="mapChange" :options="options"></vqqmap> ...
import vqqmap from '@sagbt/xt-map-v3'
...
export default defineComponent({
components: { vqqmap },
setup() {
let location = reactive({lat:'',lng:'',address:''})
let options= reactive({
key:'Yours Key',
})
function mapChange(data){
console.log(data)
}
return {
location,
options,
mapChange
};
},
});
...