Kaynağa Gözat

feat: 投屏帮助链接修改

TIANYONG 7 ay önce
ebeveyn
işleme
089a0fc47f

+ 2 - 18
src/page-instrument/custom-plugins/helper-model/screen-model/index.tsx

@@ -7,32 +7,16 @@ export default defineComponent({
 	name: "screenModel",
 	emits: ["close"],
 	setup(props, { emit }) {
-		const getTvIconUrl = () => {
-			if (location.origin.indexOf("test") > -1) {
-				return "https://test.gym.lexiaoya.cn/mteacher/#/guide";
-			} else if (location.origin.indexOf("dev") > -1) {
-				return "http://test.gym.lexiaoya.cn/mteacher/#/guide";
-			}
-			return "https://gym.lexiaoya.cn/mteacher/#/guide";
-		};
-		const getEnvHostname = () => {
-			if (location.origin.indexOf("test") > -1) {
-				return "https://test.gym.lexiaoya.cn/mdaya";
-			} else if (location.origin.indexOf("dev") > -1) {
-				return "http://test.gym.lexiaoya.cn/mdaya";
-			}
-			return "https://gym.lexiaoya.cn/mdaya";
-		};
 		return () => (
 			<>
 				<img class={styles.closeBtn} src={iconBack} onClick={() => emit("close")} />
 				<div class={styles.container}>
 					<Tabs swipeable animated>
 						<Tab name="投屏" title="投屏">
-							<iframe src={getTvIconUrl()} />
+							<iframe src={location.origin + '/student/#/guide'} />
 						</Tab>
 						<Tab name="帮助" title="帮助">
-							<iframe src={getEnvHostname() + '/#/KeepRepaire?mode=accompany'}/>
+							<iframe src={location.origin + '/student/#/helpCenter?platformType=ANALYSIS'} />
 						</Tab>
 					</Tabs>
 				</div>