数通智联化工云平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
640 B

2 years ago
import { defineComponent, h } from 'vue';
import '../../../hooks/index.mjs';
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
var NodeContent = defineComponent({
name: "NodeContent",
setup() {
const ns = useNamespace("cascader-node");
return {
ns
};
},
render() {
const { ns } = this;
const { node, panel } = this.$parent;
const { data, label } = node;
const { renderLabelFn } = panel;
return h("span", { class: ns.e("label") }, renderLabelFn ? renderLabelFn({ node, data }) : label);
}
});
export { NodeContent as default };
//# sourceMappingURL=node-content.mjs.map