mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 20:28:44 +08:00 
			
		
		
		
	使用 uview 重构实际登陆
This commit is contained in:
		@@ -0,0 +1,36 @@
 | 
			
		||||
/*
 | 
			
		||||
 * @Author       : LQ
 | 
			
		||||
 * @Description  :
 | 
			
		||||
 * @version      : 1.0
 | 
			
		||||
 * @Date         : 2021-08-20 16:44:21
 | 
			
		||||
 * @LastAuthor   : LQ
 | 
			
		||||
 * @lastTime     : 2021-08-20 17:09:50
 | 
			
		||||
 * @FilePath     : /u-view2.0/uview-ui/libs/config/props/upload.js
 | 
			
		||||
 */
 | 
			
		||||
export default {
 | 
			
		||||
	// upload组件
 | 
			
		||||
	upload: {
 | 
			
		||||
		accept: 'image',
 | 
			
		||||
		capture: () => ['album', 'camera'],
 | 
			
		||||
		compressed: true,
 | 
			
		||||
		camera: 'back',
 | 
			
		||||
		maxDuration: 60,
 | 
			
		||||
		uploadIcon: 'camera-fill',
 | 
			
		||||
		uploadIconColor: '#D3D4D6',
 | 
			
		||||
		useBeforeRead: false,
 | 
			
		||||
		previewFullImage: true,
 | 
			
		||||
		maxCount: 52,
 | 
			
		||||
		disabled: false,
 | 
			
		||||
		imageMode: 'aspectFill',
 | 
			
		||||
		name: '',
 | 
			
		||||
		sizeType: () => ['original', 'compressed'],
 | 
			
		||||
		multiple: false,
 | 
			
		||||
		deletable: true,
 | 
			
		||||
		maxSize: Number.MAX_VALUE,
 | 
			
		||||
		fileList: () => [],
 | 
			
		||||
		uploadText: '',
 | 
			
		||||
		width: 80,
 | 
			
		||||
		height: 80,
 | 
			
		||||
		previewImage: true
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user