update 文案
This commit is contained in:
parent
31ee3d15e7
commit
8a045e3ca9
@ -212,57 +212,57 @@ export default [
|
|||||||
new Feature(
|
new Feature(
|
||||||
'addBloggerAccount',
|
'addBloggerAccount',
|
||||||
'Blogger账号',
|
'Blogger账号',
|
||||||
'将您的Blogger账号链接到Stackedit。',
|
'将您的Blogger账号链接到StackEdit中文版。',
|
||||||
),
|
),
|
||||||
new Feature(
|
new Feature(
|
||||||
'addDropboxAccount',
|
'addDropboxAccount',
|
||||||
'Dropbox账号',
|
'Dropbox账号',
|
||||||
'将您的Dropbox账号链接到Stackedit。',
|
'将您的Dropbox账号链接到StackEdit中文版。',
|
||||||
),
|
),
|
||||||
new Feature(
|
new Feature(
|
||||||
'addGitHubAccount',
|
'addGitHubAccount',
|
||||||
'GitHub账号',
|
'GitHub账号',
|
||||||
'将您的Github账号链接到Stackedit。',
|
'将您的Github账号链接到StackEdit中文版。',
|
||||||
),
|
),
|
||||||
new Feature(
|
new Feature(
|
||||||
'addGiteeAccount',
|
'addGiteeAccount',
|
||||||
'Gitee账号',
|
'Gitee账号',
|
||||||
'将您的Gitee账号链接到Stackedit。',
|
'将您的Gitee账号链接到StackEdit中文版。',
|
||||||
),
|
),
|
||||||
new Feature(
|
new Feature(
|
||||||
'addGitLabAccount',
|
'addGitLabAccount',
|
||||||
'GitLab账号',
|
'GitLab账号',
|
||||||
'将您的Gitlab账号链接到Stackedit。',
|
'将您的Gitlab账号链接到StackEdit中文版。',
|
||||||
),
|
),
|
||||||
new Feature(
|
new Feature(
|
||||||
'addGiteaAccount',
|
'addGiteaAccount',
|
||||||
'Gitea账号',
|
'Gitea账号',
|
||||||
'将您的Gitea账号链接到Stackedit。',
|
'将您的Gitea账号链接到StackEdit中文版。',
|
||||||
),
|
),
|
||||||
new Feature(
|
new Feature(
|
||||||
'addGoogleDriveAccount',
|
'addGoogleDriveAccount',
|
||||||
'Google Drive账号',
|
'Google Drive账号',
|
||||||
'将您的Google Drive账号链接到Stackedit。',
|
'将您的Google Drive账号链接到StackEdit中文版。',
|
||||||
),
|
),
|
||||||
new Feature(
|
new Feature(
|
||||||
'addGooglePhotosAccount',
|
'addGooglePhotosAccount',
|
||||||
'Google Photos账号',
|
'Google Photos账号',
|
||||||
'将您的Google Photos账号链接到Stackedit。',
|
'将您的Google Photos账号链接到StackEdit中文版。',
|
||||||
),
|
),
|
||||||
new Feature(
|
new Feature(
|
||||||
'addWordpressAccount',
|
'addWordpressAccount',
|
||||||
'WordPress账号',
|
'WordPress账号',
|
||||||
'将您的WordPress账号链接到Stackedit。',
|
'将您的WordPress账号链接到StackEdit中文版。',
|
||||||
),
|
),
|
||||||
new Feature(
|
new Feature(
|
||||||
'addZendeskAccount',
|
'addZendeskAccount',
|
||||||
'Zendesk账号',
|
'Zendesk账号',
|
||||||
'将您的Zendesk账号链接到Stackedit。',
|
'将您的Zendesk账号链接到StackEdit中文版。',
|
||||||
),
|
),
|
||||||
new Feature(
|
new Feature(
|
||||||
'addSmmsAccount',
|
'addSmmsAccount',
|
||||||
'SM.MS账号',
|
'SM.MS账号',
|
||||||
'将您的SM.MS账号链接到Stackedit。',
|
'将您的SM.MS账号链接到StackEdit中文版。',
|
||||||
),
|
),
|
||||||
new Feature(
|
new Feature(
|
||||||
'removeAccount',
|
'removeAccount',
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
export default {
|
|
||||||
versionsDescription: {
|
|
||||||
'5.15.7': '支持了粘贴/拖拽图片自动上传SM.MS图床/Gitea图床',
|
|
||||||
},
|
|
||||||
};
|
|
@ -8,7 +8,6 @@ import './icons';
|
|||||||
import App from './components/App';
|
import App from './components/App';
|
||||||
import store from './store';
|
import store from './store';
|
||||||
import localDbSvc from './services/localDbSvc';
|
import localDbSvc from './services/localDbSvc';
|
||||||
import versionsDescription from './data/versions';
|
|
||||||
|
|
||||||
if (!indexedDB) {
|
if (!indexedDB) {
|
||||||
throw new Error('不支持您的浏览器,请升级到最新版本。');
|
throw new Error('不支持您的浏览器,请升级到最新版本。');
|
||||||
@ -30,8 +29,7 @@ OfflinePluginRuntime.install({
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (localStorage.updated) {
|
if (localStorage.updated) {
|
||||||
const versionDesc = versionsDescription[VERSION];
|
store.dispatch('notification/info', 'StackEdit中文版刚刚更新了!');
|
||||||
store.dispatch('notification/info', `StackEdit中文版刚刚更新了!${versionDesc}`);
|
|
||||||
setTimeout(() => localStorage.removeItem('updated'), 3000);
|
setTimeout(() => localStorage.removeItem('updated'), 3000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user