feat: 签到打卡
This commit is contained in:
2
dist/pages/home/index.js
vendored
2
dist/pages/home/index.js
vendored
File diff suppressed because one or more lines are too long
@@ -43,7 +43,7 @@ console.log('fileID---',fileID)
|
||||
<View>
|
||||
<Image
|
||||
width="100%"
|
||||
height="180px"
|
||||
height="500px"
|
||||
fit="cover"
|
||||
src={fileID}
|
||||
/>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user