fix(client): 一部のコンポーネントが裏に隠れるのを修正
This commit is contained in:
		
							parent
							
								
									cf5fe2d107
								
							
						
					
					
						commit
						fa8eb43eaf
					
				
					 3 changed files with 13 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
<template>
 | 
			
		||||
<div class="mk-uploader _acrylic">
 | 
			
		||||
<div class="mk-uploader _acrylic" :style="{ zIndex }">
 | 
			
		||||
	<ol v-if="uploads.length > 0">
 | 
			
		||||
		<li v-for="ctx in uploads" :key="ctx.id">
 | 
			
		||||
			<div class="img" :style="{ backgroundImage: `url(${ ctx.img })` }"></div>
 | 
			
		||||
| 
						 | 
				
			
			@ -25,6 +25,7 @@ export default defineComponent({
 | 
			
		|||
	data() {
 | 
			
		||||
		return {
 | 
			
		||||
			uploads: os.uploads,
 | 
			
		||||
			zIndex: os.claimZIndex(true),
 | 
			
		||||
		};
 | 
			
		||||
	},
 | 
			
		||||
});
 | 
			
		||||
| 
						 | 
				
			
			@ -33,7 +34,6 @@ export default defineComponent({
 | 
			
		|||
<style lang="scss" scoped>
 | 
			
		||||
.mk-uploader {
 | 
			
		||||
	position: fixed;
 | 
			
		||||
	z-index: 10000;
 | 
			
		||||
	right: 16px;
 | 
			
		||||
	width: 260px;
 | 
			
		||||
	top: 32px;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue