浏览代码

Merge branch '2023-9-5'

liushengqiang 1 年之前
父节点
当前提交
c703c262eb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/pc/home/component/the-jianpu/index.tsx

+ 1 - 1
src/pc/home/component/the-jianpu/index.tsx

@@ -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)}>