Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
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
viitto
pptist
Commits
52c7e804
Commit
52c7e804
authored
Jul 10, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
定时保存
parent
a5d3b2f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
index.vue
src/views/Editor/EditorHeader/index.vue
+7
-5
No files found.
src/views/Editor/EditorHeader/index.vue
View file @
52c7e804
...
...
@@ -255,9 +255,11 @@ const goBack = (type:any) =>{
path
=
`/market/op/
${
ConfigId
.
value
}
/
${
TempType
.
value
}
`
router
.
push
({
path
})
}
else
if
(
model
.
value
==
2
){
clearInterval
(
intervalId
.
value
);
intervalId
.
value
=
null
;
setTemplate
(
0
)
if
(
searchData
.
value
.
sellId
)
{
clearInterval
(
intervalId
.
value
);
intervalId
.
value
=
null
;
setTemplate
(
0
)
}
if
(
type
==
1
)
{
searchData
.
value
.
SalesEditor
=
router
.
currentRoute
.
value
.
params
if
(
searchData
.
value
.
sellId
)
searchData
.
value
.
TempId2
=
queryObj
.
value
.
TempId
...
...
@@ -668,7 +670,7 @@ watch(()=>autoSave.value,(newVal)=>{
}
})
watch
(()
=>
slides
.
value
,(
newVal
,
oldVal
)
=>
{
if
(
model
.
value
==
2
&&
SalesEditor
.
value
>
0
){
if
(
model
.
value
==
2
&&
SalesEditor
.
value
>
0
&&
searchData
.
value
.
sellId
){
if
(
!
MonitoringNumber
.
value
||
MonitoringNumber
.
value
<
3
)
MonitoringNumber
.
value
++
if
(
MonitoringNumber
.
value
>
2
)
{
Countdown
.
value
=
timer
...
...
@@ -682,7 +684,7 @@ watch(()=>slides.value,(newVal,oldVal)=>{
immediate
:
false
})
watch
(()
=>
queryObj
.
value
.
Title
,(
newVal
,
oldVal
)
=>
{
if
(
model
.
value
==
2
&&
SalesEditor
.
value
>
0
){
if
(
model
.
value
==
2
&&
SalesEditor
.
value
>
0
&&
searchData
.
value
.
sellId
){
if
(
!
MonitoringTNumber
.
value
||
MonitoringTNumber
.
value
<
3
)
MonitoringTNumber
.
value
++
if
(
MonitoringTNumber
.
value
>
2
)
{
Countdown
.
value
=
timer
...
...
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