jihuaqiang 3 주 전
부모
커밋
337d78312e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/setting/setting.tsx

+ 1 - 1
src/views/setting/setting.tsx

@@ -30,7 +30,7 @@ const Setting = () => {
 	}
 
 	const renderQrcode = () => {
-		const env = window.location.host.includes('content.piaoquantv.com') ? 'prod' : 'test'
+		const env = window.location.host === ('content.piaoquantv.com') ? 'prod' : 'test'
 		wxLogin({
 			id: 'code',
 			appid: CONFIG[env].appid,