storageConsole.js 500 B

12345678910111213141516171819202122232425262728293031
  1. // pages/storageConsole/storageConsole.js
  2. const app = getApp()
  3. Page({
  4. data: {
  5. fileID: '',
  6. cloudPath: '',
  7. imagePath: '',
  8. },
  9. onLoad: function (options) {
  10. const {
  11. fileID,
  12. cloudPath,
  13. imagePath,
  14. } = app.globalData
  15. this.setData({
  16. fileID,
  17. cloudPath,
  18. imagePath,
  19. })
  20. console.group('文件存储文档')
  21. console.log('https://developers.weixin.qq.com/miniprogram/dev/wxcloud/guide/storage.html')
  22. console.groupEnd()
  23. },
  24. })