UNPKG

cione-comp-lib

Version:

`$ yarn add cione-comp-lib` 或者 `$ npm i cione-comp-lib -S`

43 lines (42 loc) 1.47 kB
import { defineComponent, toRefs, resolveComponent, openBlock, createElementBlock, normalizeStyle, createVNode } from "vue"; import "../../node_modules/@vuemap/vue-amap/dist/style.mjs"; import _sfc_main$1 from "./cione_map/index.mjs"; import "./index.vue_vue_type_style_index_0_scoped_true_lang.mjs"; import _export_sfc from "../../_virtual/plugin-vue_export-helper.mjs"; import { initAMapApiLoader } from "../../node_modules/@vuemap/vue-amap/es/services/injected-amap-api-instance.mjs"; initAMapApiLoader({ key: "9e4393ebfa64f063a1b99487ecb6a811", securityJsCode: " 79f19b7d24b0181666e1f9ca0b3e4f5a" }); const _sfc_main = defineComponent({ name: "CoMapMain", props: { width: { type: String }, height: { type: String } }, components: { CioneMap: _sfc_main$1 }, setup(props) { console.log("12312312CoMapMain", props); return { ...toRefs(props) }; } }); function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_CioneMap = resolveComponent("CioneMap"); return openBlock(), createElementBlock("div", { class: "co-map-main", style: normalizeStyle({ width: _ctx.width || "100%", height: _ctx.height || "100%" }), ref: "clockDom" }, [ createVNode(_component_CioneMap, { class: "cioneMap" }) ], 4); } var CoMapMain = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-246275b2"]]); export { CoMapMain as default };