Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-app
Project
Project
Details
Activity
Releases
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
李伟
cust-app
Commits
8b44ca9b
Commit
8b44ca9b
authored
Jan 15, 2025
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改查询
parent
81ed5d2f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
config.js
config.js
+1
-1
updateBasicInformation.vue
pagesme/me/updateBasicInformation.vue
+1
-1
updateInformation.vue
pagesme/me/updateInformation.vue
+1
-1
No files found.
config.js
View file @
8b44ca9b
// 应用全局配置
// 应用全局配置
module
.
exports
=
{
module
.
exports
=
{
// baseUrl: 'http://106.3.97.198:20162'
// baseUrl: 'http://106.3.97.198:20162'
baseUrl
:
'http://
192.168.1.7
:8092'
,
//接口URL
baseUrl
:
'http://
localhost
:8092'
,
//接口URL
imgUrl
:
'http://192.168.1.7/static/images'
,
//图片URL
imgUrl
:
'http://192.168.1.7/static/images'
,
//图片URL
webViewUrl
:
'http://192.168.1.7:8080'
//小程序跳转H5页面的URL
webViewUrl
:
'http://192.168.1.7:8080'
//小程序跳转H5页面的URL
}
}
...
...
pagesme/me/updateBasicInformation.vue
View file @
8b44ca9b
...
@@ -551,7 +551,7 @@ export default {
...
@@ -551,7 +551,7 @@ export default {
},
},
methods
:
{
methods
:
{
getUserInfo
()
{
getUserInfo
()
{
userDetail
(
'3'
).
then
(
res
=>
{
userDetail
(
uni
.
getStorageSync
(
'userInfo'
).
memberId
).
then
(
res
=>
{
this
.
userInfo
=
res
.
data
.
data
this
.
userInfo
=
res
.
data
.
data
//处理性别
//处理性别
this
.
form
.
memSexText
=
getValue
(
'sex'
,
res
.
data
.
data
.
memSex
)
this
.
form
.
memSexText
=
getValue
(
'sex'
,
res
.
data
.
data
.
memSex
)
...
...
pagesme/me/updateInformation.vue
View file @
8b44ca9b
...
@@ -433,7 +433,7 @@ import {updateUser, userDetail} from "../../api/user";
...
@@ -433,7 +433,7 @@ import {updateUser, userDetail} from "../../api/user";
})
})
},
},
getUserInfo
()
{
getUserInfo
()
{
userDetail
(
'3'
).
then
(
res
=>
{
userDetail
(
uni
.
getStorageSync
(
'userInfo'
).
memberId
).
then
(
res
=>
{
this
.
userInfo
=
res
.
data
.
data
this
.
userInfo
=
res
.
data
.
data
//处理头像
//处理头像
this
.
userInfo
.
avatarUrl
=
(
res
.
data
.
data
.
avatarUrl
.
replace
(
/
\\
/g
,
'/'
))
this
.
userInfo
.
avatarUrl
=
(
res
.
data
.
data
.
avatarUrl
.
replace
(
/
\\
/g
,
'/'
))
...
...
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