Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
X
XiTianSenMall
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
leiqingsong
XiTianSenMall
Commits
8fa0ebdf
Commit
8fa0ebdf
authored
Mar 29, 2021
by
leiqingsong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
部署测试环境
parent
dae2c033
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
settings.vue
H5/src/views/settings.vue
+4
-3
vue.config.js
H5/vue.config.js
+1
-1
No files found.
H5/src/views/settings.vue
View file @
8fa0ebdf
...
...
@@ -2,7 +2,8 @@
<div
class=
"settings"
>
<van-cell-group
class=
"group-1"
>
<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=
"头像"
/>
</van-cell>
</van-cell-group>
...
...
@@ -104,10 +105,10 @@ export default {
updateVersion
()
{
versionUpdate
(
this
.
version
.
substr
(
2
)).
then
(
res
=>
{
this
.
versionShow
=
true
;
if
(
res
.
data
===
"当前已是最新版本!"
)
{
if
(
res
.
code
==
1
)
{
this
.
updateResult
=
res
.
data
;
this
.
needUpdate
=
false
;
}
else
{
}
else
if
(
res
.
code
==
0
)
{
this
.
downAppUrl
=
res
.
data
;
this
.
updateResult
=
"最新版App下载地址:"
+
res
.
data
;
this
.
updateBtn
=
"下载最新版App"
;
...
...
H5/vue.config.js
View file @
8fa0ebdf
...
...
@@ -4,7 +4,7 @@ const name = "西田森App";
module
.
exports
=
{
publicPath
:
"/front"
,
outputDir
:
"front"
,
//
outputDir: "front",
devServer
:
{
proxy
:
{
'/shop-mall'
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment