UNPKG

vue-tianditu2

Version:
3 lines (2 loc) 417 B
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue");function c({props:i,instances:o}){n.watch(()=>{var e;return(e=i.markTool)==null?void 0:e.icon},e=>{var t,r;e&&(typeof e=="string"?(t=o.markTool)==null||t.setPointImage(e):e!=null&&e.iconUrl&&((r=o.markTool)==null||r.setPointImage(e==null?void 0:e.iconUrl)))})}exports.useWatch=c; //# sourceMappingURL=watch.js.map