Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-customer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c8b2735f
authored
Apr 06, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'wangzh_dev_2.0' into 'v2.0.0'
fix:判断merchantModel是否为空 See merge request
!7
2 parents
741dc024
d50a736b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
src/views/customer/detail.vue
src/views/customer/detail.vue
View file @
c8b2735
...
@@ -268,14 +268,14 @@ export default {
...
@@ -268,14 +268,14 @@ export default {
})
})
},
},
mounted
()
{
mounted
()
{
this
.
merchantModel
=
this
.
getLocalStorage
(
'dj_scrm_userInfo'
).
merchantModel
this
.
merchantModel
=
this
.
getLocalStorage
(
'dj_scrm_userInfo'
).
merchantModel
?
this
.
getLocalStorage
(
'dj_scrm_userInfo'
).
merchantModel
:
''
this
.
userAgent
=
this
.
isMobile
()
this
.
userAgent
=
this
.
isMobile
()
this
.
showLoading
()
this
.
showLoading
()
let
{
id
,
customerId
,
isTrue
}
=
this
.
getQuery
()
let
{
id
,
customerId
,
isTrue
}
=
this
.
getQuery
()
if
(
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'dj_id'
)))
{
if
(
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'dj_id'
)))
{
id
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'dj_id'
)).
id
id
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'dj_id'
)).
id
}
}
// console.log(id,'测试测试')
// console.log(id,'测试测试')
// id = 'wo_pmOEQAAr93aXGLTNtAjLGZZxpwXuQ'
// id = 'wo_pmOEQAAr93aXGLTNtAjLGZZxpwXuQ'
if
(
id
||
isTrue
)
{
if
(
id
||
isTrue
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment