소스 검색

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