Commit 8fa0ebdf authored by leiqingsong's avatar leiqingsong

部署测试环境

parent dae2c033
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
<div class="settings"> <div class="settings">
<van-cell-group class="group-1"> <van-cell-group class="group-1">
<van-cell title="用户名" :value="userName" /> <van-cell title="用户名" :value="userName" />
<van-cell is-link center title="头像" @click="onModefy"> <!--is-link @click="onModefy" -->
<van-cell center title="头像" is-link @click="onModefy">
<img class="avatar-img" :src="imageBaseUrl + avatar" alt="头像" /> <img class="avatar-img" :src="imageBaseUrl + avatar" alt="头像" />
</van-cell> </van-cell>
</van-cell-group> </van-cell-group>
...@@ -104,10 +105,10 @@ export default { ...@@ -104,10 +105,10 @@ export default {
updateVersion() { updateVersion() {
versionUpdate(this.version.substr(2)).then(res => { versionUpdate(this.version.substr(2)).then(res => {
this.versionShow = true; this.versionShow = true;
if (res.data === "当前已是最新版本!") { if (res.code == 1) {
this.updateResult = res.data; this.updateResult = res.data;
this.needUpdate = false; this.needUpdate = false;
} else { } else if (res.code == 0) {
this.downAppUrl = res.data; this.downAppUrl = res.data;
this.updateResult = "最新版App下载地址:" + res.data; this.updateResult = "最新版App下载地址:" + res.data;
this.updateBtn = "下载最新版App"; this.updateBtn = "下载最新版App";
......
...@@ -4,7 +4,7 @@ const name = "西田森App"; ...@@ -4,7 +4,7 @@ const name = "西田森App";
module.exports = { module.exports = {
publicPath: "/front", publicPath: "/front",
outputDir: "front", // outputDir: "front",
devServer: { devServer: {
proxy: { proxy: {
'/shop-mall': { '/shop-mall': {
......
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