Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
h5-admin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
yimu
h5-admin
Commits
816db42c
Commit
816db42c
authored
Dec 31, 2021
by
王伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
聊天页面定时任务
parent
4978a6bd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
after-sales.vue
src/view/sale/after-sales.vue
+6
-5
No files found.
src/view/sale/after-sales.vue
View file @
816db42c
...
...
@@ -232,12 +232,13 @@ export default {
mounted
()
{
// console.log(this.$refs.im_chat.$re)
// this.$refs.im_chat.goEnd()
const
timers
=
setInterval
(()
=>
{
// const timers = setInterval(() => {
// this.requestData()
// }, 1500)
// this.$once('hook:beforeDestroy', () => {
// clearInterval(timers)
// })
this
.
requestData
()
},
1500
)
this
.
$once
(
'hook:beforeDestroy'
,
()
=>
{
clearInterval
(
timers
)
})
this
.
initTold
()
},
beforeDestroyed
()
{
...
...
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