import { NButton, NIcon, NModal, NScrollbar } from "naive-ui"; import { computed, defineComponent } from "vue"; import styles from "./index.module.less"; import { Close } from "@vicons/ionicons5"; export default defineComponent({ name: "TheJianpu", props: { show: { type: Boolean, default: false, }, abc:{ type:String, default:"" } }, emits: ["update:show"], setup(props, { emit }) { const src = computed(() => { return `${location.origin}/jianpu/index.html?c=` + encodeURIComponent(props.abc); }); return () => ( emit("update:show", val)}>
简谱预览
emit("update:show", false)} >
); }, });