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