feat: 签到打卡

This commit is contained in:
eric
2022-11-20 14:29:11 +08:00
parent e307431687
commit 35af0e07ee
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -43,7 +43,7 @@ console.log('fileID---',fileID)
<View>
<Image
width="100%"
height="180px"
height="500px"
fit="cover"
src={fileID}
/>

View File

@@ -164,7 +164,7 @@ const Home = () => {
// 云开发存储文件 [/自动创建文件路径]
Taro.cloud.uploadFile({
cloudPath: `images/dev/example.png`,
cloudPath: `images/dev/${new Date()?.getTime()}.png`,
filePath: tempFilePaths?.[0], // 文件路径
success: (res: any) => {
// get resource ID