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 7607ab7e
authored
Apr 27, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
标除过时抓取素材功能等
1 parent
1a352923
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
29 deletions
linkwe-pc/src/api/appTool/chatBar.js → linkwe-pc/src/api/appTool/-chatBar.js
linkwe-pc/src/views/appTool/chatToolbar/config.vue → linkwe-pc/src/views/appTool/-chatToolbar/config.vue
linkwe-pc/src/views/appTool/chatToolbar/explain.vue → linkwe-pc/src/views/appTool/-chatToolbar/explain.vue
linkwe-pc/src/views/appTool/chatToolbar/list.vue → linkwe-pc/src/views/appTool/-chatToolbar/list.vue
linkwe-pc/src/views/authRedirect.vue
linkwe-pc/src/api/appTool/chatBar.js
→
linkwe-pc/src/api/appTool/
-
chatBar.js
View file @
7607ab7
File moved
linkwe-pc/src/views/appTool/chatToolbar/config.vue
→
linkwe-pc/src/views/appTool/
-
chatToolbar/config.vue
View file @
7607ab7
File moved
linkwe-pc/src/views/appTool/chatToolbar/explain.vue
→
linkwe-pc/src/views/appTool/
-
chatToolbar/explain.vue
View file @
7607ab7
File moved
linkwe-pc/src/views/appTool/chatToolbar/list.vue
→
linkwe-pc/src/views/appTool/
-
chatToolbar/list.vue
View file @
7607ab7
File moved
linkwe-pc/src/views/authRedirect.vue
View file @
7607ab7
<
script
>
<
script
>
import
{
wxQrLogin
}
from
'@/api/login'
import
{
wxQrLogin
}
from
'@/api/login'
import
{
getQueryValue
}
from
'@/utils/index'
import
{
getQueryValue
}
from
'@/utils/index'
import
{
setToken
}
from
'@/utils/auth'
import
{
setToken
}
from
'@/utils/auth'
export
default
{
export
default
{
components
:
{},
components
:
{},
props
:
{},
props
:
{},
data
()
{
data
()
{
return
{}
return
{}
},
},
watch
:
{},
watch
:
{},
computed
:
{},
computed
:
{},
async
beforeCreate
()
{
async
beforeCreate
()
{
// http://106.13.201.219/?auth_code=xxx#/authWehatCallback
// http://106.13.201.219/?auth_code=xxx#/authWehatCallback
// console.log('routerbeforeCreate', this.$route);
// console.log('routerbeforeCreate', this.$route);
let
auth_code
=
getQueryValue
(
'code'
)
document
.
getElementById
(
'loader-wrapper'
).
classList
.
remove
(
'loaded'
)
try
{
let
auth_code
=
getQueryValue
(
'code'
)
let
{
data
}
=
await
wxQrLogin
(
auth_code
)
try
{
setToken
(
data
.
access_token
)
let
{
data
}
=
await
wxQrLogin
(
auth_code
)
// 用以重置浏览器回调的url
setToken
(
data
.
access_token
)
history
.
replaceState
({},
'page'
,
window
.
lwConfig
.
BASE_URL
)
// 用以重置浏览器回调的url
this
.
$router
.
replace
(
'/'
)
history
.
replaceState
({},
'page'
,
window
.
lwConfig
.
BASE_URL
)
// location.href = window.lwConfig.BASE_URL
this
.
$router
.
replace
(
'/'
)
}
catch
(
error
)
{
// location.href = window.lwConfig.BASE_URL
console
.
log
(
error
)
}
catch
(
error
)
{
}
console
.
log
(
error
)
},
}
mounted
()
{},
},
methods
:
{}
mounted
()
{},
}
methods
:
{},
}
</
script
>
</
script
>
<
template
>
<
template
>
...
...
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