Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
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
fukai
vue-gjjs
Commits
2c80ca87
Commit
2c80ca87
authored
Apr 04, 2023
by
李少勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改word文档预览显示问题
parent
2eb49548
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
Show.vue
src/views/Docpan/Show.vue
+6
-9
No files found.
src/views/Docpan/Show.vue
View file @
2c80ca87
...
...
@@ -28,6 +28,11 @@ export default {
let
params
=
window
.
opener
[
"params"
];
let
blob
=
params
.
blob
renderAsync
(
blob
,
this
.
$refs
.
file
)
this
.
$nextTick
(()
=>
{
let
dom
=
document
.
querySelector
(
'.docWrap'
)
dom
.
style
.
height
=
'100vh'
dom
.
style
.
overflow
=
'auto'
})
},
async
downLoad
()
{
let
params
=
window
.
opener
[
"params"
];
...
...
@@ -44,12 +49,4 @@ export default {
}
};
</
script
>
<
style
scoped
>
::v-deep
.docx-wrapper
{
width
:
100%
;
height
:
100vh
;
padding
:
0
;
overflow
:
auto
;
}
</
style
>
<
style
scoped
></
style
>
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