feat: add account deletion, announcements and subscription renewal
Support personal records and persistent smoking visibility. Add upload quota preflight, file cleanup, privacy entry, image caching and revision-based page refresh across the backend, admin and mini program.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
const { withDataCache } = require('../../utils/page-cache');
|
||||
const { tryLoginRenewal } = require('../../utils/subscribe');
|
||||
const { getLayout } = require('../../utils/layout');
|
||||
const { api } = require('../../utils/request');
|
||||
|
||||
@@ -8,7 +10,8 @@ function formatBytes(bytes) {
|
||||
return (bytes / 1024 / 1024 / 1024).toFixed(2) + ' GB';
|
||||
}
|
||||
|
||||
Page({
|
||||
Page(withDataCache({
|
||||
onLoginSubscribeTap: function() { return tryLoginRenewal(); },
|
||||
onResize: function () { this.setData(getLayout()); },
|
||||
|
||||
data: {
|
||||
@@ -157,4 +160,4 @@ Page({
|
||||
}
|
||||
},
|
||||
|
||||
});
|
||||
}, {loadInfo:['storageInfo']}));
|
||||
|
||||
Reference in New Issue
Block a user