Skip to content

Commit

Permalink
docs: v1.0.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
ronggang committed Jan 10, 2019
1 parent 921b3a4 commit 0268026
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "__MSG_manifest_appName__",
"short_name": "__MSG_manifest_shortName__",
"version": "1.0.0.7",
"version": "1.0.0.8",
"description": "__MSG_manifest_appDescription__",
"manifest_version": 2,
"default_locale": "zh_CN",
Expand Down
11 changes: 10 additions & 1 deletion src/options/components/Footer.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<template>
<v-footer app fixed>
<span class="pl-2 grey--text text--darken-1">&copy; 栽培者 2019, 版本 v1.0.0.7 beta
<span class="pl-2 grey--text text--darken-1">
&copy; 栽培者 2019, 版本 {{version}}
<v-chip label outline color="orange" disabled small v-if="isDebugMode">{{ words.isDebugMode }}</v-chip>
</span>
<v-spacer></v-spacer>
Expand All @@ -16,8 +17,16 @@ export default Vue.extend({
words: {
isDebugMode: APP.debugMode ? "当前处于调试模式" : ""
},
version: "",
isDebugMode: APP.debugMode
};
},
created() {
if (APP.isExtensionMode) {
this.version = "v" + chrome.runtime.getManifest().version;
} else {
this.version = "localVersion";
}
}
});
</script>
1 change: 1 addition & 0 deletions src/service/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ let productAPI = {
export const APP = {
debugMode: process.env.NODE_ENV === "development",
scriptQueues: [] as any,
isExtensionMode: window["chrome"] && window.chrome.extension ? true : false,
cache: {
localStorage: new localStorage(),
cacheKey: "PT-Plugin-Plus-Cache-Contents",
Expand Down

0 comments on commit 0268026

Please sign in to comment.