Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
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 e623b0c1
authored
Jul 15, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改客户画像bug
1 parent
49c0235d
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
linkwe-mobile/src/App.vue
linkwe-mobile/src/views/portrait/index.vue
linkwe-mobile/src/App.vue
View file @
e623b0c
...
@@ -6,14 +6,14 @@ export default {
...
@@ -6,14 +6,14 @@ export default {
name
:
'App'
,
name
:
'App'
,
provide
()
{
provide
()
{
return
{
return
{
reload
:
this
.
reload
,
reload
:
this
.
reload
}
}
},
},
data
()
{
data
()
{
return
{
return
{
corpId
:
''
,
corpId
:
''
,
agentId
:
''
,
agentId
:
''
,
isRouterAlive
:
true
,
isRouterAlive
:
true
}
}
},
},
async
created
()
{
async
created
()
{
...
@@ -45,12 +45,12 @@ export default {
...
@@ -45,12 +45,12 @@ export default {
// this.wxConfig()
// this.wxConfig()
const
noAuth
=
route
.
meta
?
route
.
meta
.
noAuth
:
false
const
noAuth
=
route
.
meta
?
route
.
meta
.
noAuth
:
false
!
noAuth
&&
this
.
wxConfig
()
!
noAuth
&&
this
.
wxConfig
()
}
,
}
},
},
methods
:
{
methods
:
{
reload
()
{
reload
()
{
this
.
isRouterAlive
=
false
this
.
isRouterAlive
=
false
this
.
$nextTick
(
function
()
{
this
.
$nextTick
(
()
=>
{
this
.
isRouterAlive
=
true
this
.
isRouterAlive
=
true
})
})
},
},
...
@@ -76,7 +76,7 @@ export default {
...
@@ -76,7 +76,7 @@ export default {
'getCurExternalContact'
,
'getCurExternalContact'
,
'openEnterpriseChat'
,
'openEnterpriseChat'
,
'shareToExternalContact'
,
'shareToExternalContact'
,
'shareToExternalChat'
,
'shareToExternalChat'
],
//必填
],
//必填
success
:
(
res
)
=>
{
success
:
(
res
)
=>
{
// 回调
// 回调
...
@@ -88,10 +88,10 @@ export default {
...
@@ -88,10 +88,10 @@ export default {
if
(
res
.
errMsg
.
indexOf
(
'function not exist'
)
>
-
1
)
{
if
(
res
.
errMsg
.
indexOf
(
'function not exist'
)
>
-
1
)
{
alert
(
'版本过低请升级'
)
alert
(
'版本过低请升级'
)
}
}
}
,
}
})
})
}
catch
(
error
)
{}
}
catch
(
error
)
{}
}
,
}
// 丢弃
// 丢弃
// _wxConfig() {
// _wxConfig() {
// // 获取企业的jsapi_ticket
// // 获取企业的jsapi_ticket
...
@@ -135,7 +135,7 @@ export default {
...
@@ -135,7 +135,7 @@ export default {
// })
// })
// })
// })
// },
// },
}
,
}
}
}
</
script
>
</
script
>
<
template
>
<
template
>
...
...
linkwe-mobile/src/views/portrait/index.vue
View file @
e623b0c
This diff is collapsed.
Click to expand it.
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