11wqe1 há 3 semanas atrás
pai
commit
451fdfcca5
2 ficheiros alterados com 4 adições e 4 exclusões
  1. 2 2
      src/views/HomeView.vue
  2. 2 2
      src/views/login/loginPage.vue

+ 2 - 2
src/views/HomeView.vue

@@ -65,7 +65,7 @@
 					<!-- {{ item }} -->
 					<div style="height: calc(100vh - 60px)" v-show="item.stateL">
 						<iframe
-							allow="camera *; microphone *;display-capture;midi;encrypted-media;fullscreen *;"
+							allow="camera *; microphone *; display-capture; midi; encrypted-media; fullscreen; geolocation; clipboard-read; clipboard-write; accelerometer; autoplay; gyroscope; payment; picture-in-picture; usb; xr-spatial-tracking;"
 							frameborder="no"
 							@load="handleLoad"
 							style="border: 0; width: 100%; height: calc(100vh - 60px)"
@@ -79,7 +79,7 @@
 				<!-- 荔园首页定制工具,不保存缓存 -->
 				<div style="height: calc(100vh - 60px)" v-if="clearifa">
 					<iframe
-						allow="camera *; microphone *;display-capture;midi;encrypted-media;fullscreen *;"
+						allow="camera *; microphone *; display-capture; midi; encrypted-media; fullscreen; geolocation; clipboard-read; clipboard-write; accelerometer; autoplay; gyroscope; payment; picture-in-picture; usb; xr-spatial-tracking;"
 						frameborder="no"
 						@load="handleLoad"
 						style="border: 0; width: 100%; height: calc(100vh - 60px)"

+ 2 - 2
src/views/login/loginPage.vue

@@ -107,7 +107,7 @@
 									<el-select
 										v-loading="Codeloading"
 										@change="getSuffix"
-										v-model="SuffixData"
+										v-model.trim="SuffixData"
 										placeholder="请选择"
 									>
 										<el-option
@@ -404,7 +404,7 @@ export default {
 		}),
 		// 获取组织后缀
 		async getSuffix() {
-
+			if (!this.SuffixData) return
 			let res = await GetSuffix({ mode: this.SuffixData });
 			console.log("res.data[0]", res.data[0]);