Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sample-form-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
sample-form-platform
Commits
fa1d6093
Commit
fa1d6093
authored
Dec 22, 2022
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pref:修改预览
parent
4c604d7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sample-form-client-ui/admin/src/pages/showpage/ShowMaterials.vue
...form-client-ui/admin/src/pages/showpage/ShowMaterials.vue
+2
-2
No files found.
sample-form-client-ui/admin/src/pages/showpage/ShowMaterials.vue
View file @
fa1d6093
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
height: v.height + 'px',
height: v.height + 'px',
}"
}"
class="preview-img"
class="preview-img"
:src="api + v.
preView
Path"
:src="api + v.
sample
Path"
/>
/>
</div>
</div>
</div>
</div>
...
@@ -141,7 +141,7 @@ export default {
...
@@ -141,7 +141,7 @@ export default {
let
{
data
}
=
res
.
data
.
data
;
let
{
data
}
=
res
.
data
.
data
;
data
.
forEach
((
v
)
=>
{
data
.
forEach
((
v
)
=>
{
let
image
=
new
Image
();
let
image
=
new
Image
();
image
.
src
=
this
.
api
+
v
.
preView
Path
;
image
.
src
=
this
.
api
+
v
.
sample
Path
;
image
.
onload
=
function
()
{
image
.
onload
=
function
()
{
v
.
height
=
image
.
height
;
v
.
height
=
image
.
height
;
};
};
...
...
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