From 8a045e3ca95c42d3b262078f1cab10e48b2d9713 Mon Sep 17 00:00:00 2001 From: "xiaoqi.cxq" Date: Sat, 2 Jul 2022 17:24:52 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/data/features.js | 22 +++++++++++----------- src/data/versions.js | 5 ----- src/index.js | 4 +--- 3 files changed, 12 insertions(+), 19 deletions(-) delete mode 100644 src/data/versions.js diff --git a/src/data/features.js b/src/data/features.js index 437493e0..73aa7c9c 100644 --- a/src/data/features.js +++ b/src/data/features.js @@ -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', diff --git a/src/data/versions.js b/src/data/versions.js deleted file mode 100644 index b1183268..00000000 --- a/src/data/versions.js +++ /dev/null @@ -1,5 +0,0 @@ -export default { - versionsDescription: { - '5.15.7': '支持了粘贴/拖拽图片自动上传SM.MS图床/Gitea图床', - }, -}; diff --git a/src/index.js b/src/index.js index 6b0a2c94..303c052b 100644 --- a/src/index.js +++ b/src/index.js @@ -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); }