Commit c2079a18 authored by linwenqing's avatar linwenqing

refactor:版本字段名修改

parent f936315a
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
if (ENV_VAR) { if (ENV_VAR) {
process.uniEnv = {} process.uniEnv = {}
process.uniEnv['node_env'] = NODE_ENV process.uniEnv['node_env'] = NODE_ENV
process.uniEnv['version'] = VERSION process.uniEnv['versionName'] = VERSION
for (let key in ENV_VAR) { for (let key in ENV_VAR) {
process.uniEnv[key] = ENV_VAR[key] process.uniEnv[key] = ENV_VAR[key]
} }
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
export default { export default {
data() { data() {
return { return {
newVersion: '当前版本' + process.uniEnv.version, newVersion: '当前版本' + process.uniEnv.versionName,
} }
}, },
computed: {}, computed: {},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment