32 lines
500 B
JavaScript
32 lines
500 B
JavaScript
// pages/storageConsole/storageConsole.js
|
|
|
|
const app = getApp()
|
|
|
|
Page({
|
|
|
|
data: {
|
|
fileID: '',
|
|
cloudPath: '',
|
|
imagePath: '',
|
|
},
|
|
|
|
onLoad: function (options) {
|
|
|
|
const {
|
|
fileID,
|
|
cloudPath,
|
|
imagePath,
|
|
} = app.globalData
|
|
|
|
this.setData({
|
|
fileID,
|
|
cloudPath,
|
|
imagePath,
|
|
})
|
|
|
|
console.group('文件存储文档')
|
|
console.log('https://developers.weixin.qq.com/miniprogram/dev/wxcloud/guide/storage.html')
|
|
console.groupEnd()
|
|
},
|
|
|
|
}) |