!64 版本升级
* Merge branch 'dev' of gitee.com:JavaLionLi/plus-ui into ts * 升级依赖 * !61 fix: 删除重复环境变量ElUploadInstance * fix: 删除重复环境变量ElUploadInstance
This commit is contained in:
		| @ -2,16 +2,16 @@ | ||||
|   <transition-group name="fade-transform" mode="out-in"> | ||||
|     <inner-link | ||||
|       v-for="(item, index) in tagsViewStore.iframeViews" | ||||
|       :key="item.path" | ||||
|       :iframeId="'iframe' + index" | ||||
|       v-show="route.path === item.path" | ||||
|       :key="item.path" | ||||
|       :iframe-id="'iframe' + index" | ||||
|       :src="iframeUrl(item.meta ? item.meta.link : '', item.query)" | ||||
|     ></inner-link> | ||||
|   </transition-group> | ||||
| </template> | ||||
|  | ||||
| <script setup lang="ts"> | ||||
| import InnerLink from "../InnerLink/index.vue"; | ||||
| import InnerLink from '../InnerLink/index.vue'; | ||||
| import useTagsViewStore from '@/store/modules/tagsView'; | ||||
|  | ||||
| const route = useRoute(); | ||||
| @ -19,8 +19,10 @@ const tagsViewStore = useTagsViewStore(); | ||||
|  | ||||
| function iframeUrl(url: string, query: any) { | ||||
|   if (Object.keys(query).length > 0) { | ||||
|     let params = Object.keys(query).map((key) => key + "=" + query[key]).join("&"); | ||||
|     return url + "?" + params; | ||||
|     let params = Object.keys(query) | ||||
|       .map((key) => key + '=' + query[key]) | ||||
|       .join('&'); | ||||
|     return url + '?' + params; | ||||
|   } | ||||
|   return url; | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 ahaos
					ahaos