|
@@ -18,7 +18,7 @@ export default defineComponent({
|
|
|
emits: ["update:show"],
|
|
|
setup(props, { emit }) {
|
|
|
const src = computed(() => {
|
|
|
- return `${location.origin}/jianpu/index.html?c=` + encodeURIComponent(props.abc);
|
|
|
+ return `${location.origin}${location.pathname}jianpu/index.html?c=` + encodeURIComponent(props.abc);
|
|
|
});
|
|
|
return () => (
|
|
|
<NModal displayDirective="if" autoFocus={false} show={props.show} onUpdate:show={(val) => emit("update:show", val)}>
|