Преглед на файлове

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