Merge branch 'master' of https://gitee.com/lyt-top/vue-next-admin
This commit is contained in:
		
						commit
						bfecc6f6d2
					
				| @ -21,7 +21,7 @@ | ||||
| 				:label="item.title" | ||||
| 			> | ||||
| 				<template v-slot="scope"> | ||||
| 					<template v-if="item.key === 'image'"> | ||||
| 					<template v-if="item.type === 'image'"> | ||||
| 						<img :src="scope.row[item.key]" :width="item.width" :height="item.height" /> | ||||
| 					</template> | ||||
| 					<template v-else> | ||||
|  | ||||
| @ -28,6 +28,7 @@ import { useRouter } from 'vue-router'; | ||||
| // 定义变量内容 | ||||
| const router = useRouter(); | ||||
| 
 | ||||
| // 返回首页 | ||||
| const onGoHome = () => { | ||||
| 	router.push('/'); | ||||
| }; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user