vue-tianditu2
Version:
18 lines (17 loc) • 464 B
JavaScript
import { watch as m } from "vue";
function f({ props: e, instances: r }) {
m(
() => {
var o;
return (o = e.markTool) == null ? void 0 : o.icon;
},
(o) => {
var t, i;
o && (typeof o == "string" ? (t = r.markTool) == null || t.setPointImage(o) : o != null && o.iconUrl && ((i = r.markTool) == null || i.setPointImage(o == null ? void 0 : o.iconUrl)));
}
);
}
export {
f as useWatch
};
//# sourceMappingURL=watch.mjs.map