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
10450f32
Commit
10450f32
authored
Jun 04, 2024
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决打印
parent
c62b3905
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
index.vue
src/views/Editor/Thumbnails/index.vue
+1
-4
No files found.
src/views/Editor/Thumbnails/index.vue
View file @
10450f32
...
@@ -99,7 +99,7 @@ const TemplateTypeStore = useScreenStore()
...
@@ -99,7 +99,7 @@ const TemplateTypeStore = useScreenStore()
const
CoverImgStore
=
useScreenStore
()
const
CoverImgStore
=
useScreenStore
()
const
dataLoadingStore
=
useScreenStore
()
const
dataLoadingStore
=
useScreenStore
()
const
{
model
,
ConfigId
,
TemplateDataSource
,
TemplateType
,
dataLoading
,
TempId
,
SourceLoading
}
=
storeToRefs
(
TemplateTypeStore
)
const
{
model
,
ConfigId
,
TemplateDataSource
,
TemplateType
,
dataLoading
,
TempId
,
SourceLoading
}
=
storeToRefs
(
TemplateTypeStore
)
console
.
log
(
model
.
value
,
ConfigId
.
value
,
TempId
.
value
)
const
selectedSlidesIndex
=
computed
(()
=>
[...
_selectedSlidesIndex
.
value
,
slideIndex
.
value
])
const
selectedSlidesIndex
=
computed
(()
=>
[...
_selectedSlidesIndex
.
value
,
slideIndex
.
value
])
const
{
setNewDatasList
}
=
useEditor
()
const
{
setNewDatasList
}
=
useEditor
()
...
@@ -403,7 +403,6 @@ const GetTripTemplate = async () =>{
...
@@ -403,7 +403,6 @@ const GetTripTemplate = async () =>{
text
:
'正在渲染模版数据'
,
text
:
'正在渲染模版数据'
,
lock
:
true
lock
:
true
})
})
// console.log(searchData.value.TempId,searchData.value.TempId2,TempId.value,searchData.value.sellTempId)
if
(
!
searchData
.
value
.
TempId
&&!
searchData
.
value
.
TempId2
&&!
TempId
.
value
&&!
searchData
.
value
.
sellTempId
&&
searchData
.
value
.
ViewSlideshow
)
{
if
(
!
searchData
.
value
.
TempId
&&!
searchData
.
value
.
TempId2
&&!
TempId
.
value
&&!
searchData
.
value
.
sellTempId
&&
searchData
.
value
.
ViewSlideshow
)
{
let
list
=
[
let
list
=
[
{
{
...
@@ -470,7 +469,6 @@ const GetTripTemplate = async () =>{
...
@@ -470,7 +469,6 @@ const GetTripTemplate = async () =>{
if
(
y
.
contentStr
&&
y
.
content
.
includes
(
y
.
contentStr
)){
if
(
y
.
contentStr
&&
y
.
content
.
includes
(
y
.
contentStr
)){
let
temp
=
HtmlUtil
.
htmlEncodeByRegExp
(
y
.
contentStr
)
let
temp
=
HtmlUtil
.
htmlEncodeByRegExp
(
y
.
contentStr
)
if
(
temp
!=
y
.
contentStr
)
{
if
(
temp
!=
y
.
contentStr
)
{
console
.
log
(
'diff'
,
y
.
contentStr
,
temp
)
y
.
content
=
y
.
content
.
replace
(
y
.
contentStr
,
temp
)
y
.
content
=
y
.
content
.
replace
(
y
.
contentStr
,
temp
)
}
}
}
}
...
@@ -715,7 +713,6 @@ const sellGetTripTemplate = async () =>{
...
@@ -715,7 +713,6 @@ const sellGetTripTemplate = async () =>{
if
(
y
.
contentStr
&&
y
.
content
.
includes
(
y
.
contentStr
)){
if
(
y
.
contentStr
&&
y
.
content
.
includes
(
y
.
contentStr
)){
let
temp
=
HtmlUtil
.
htmlEncodeByRegExp
(
y
.
contentStr
)
let
temp
=
HtmlUtil
.
htmlEncodeByRegExp
(
y
.
contentStr
)
if
(
temp
!=
y
.
contentStr
)
{
if
(
temp
!=
y
.
contentStr
)
{
console
.
log
(
'diff'
,
y
.
contentStr
,
temp
)
y
.
content
=
y
.
content
.
replace
(
y
.
contentStr
,
temp
)
y
.
content
=
y
.
content
.
replace
(
y
.
contentStr
,
temp
)
}
}
}
}
...
...
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