Ver código fonte

修改onlyoffice 宽度

wukai 2 anos atrás
pai
commit
99c4791258
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/components/OnlyOffice/index.vue

+ 2 - 2
src/components/OnlyOffice/index.vue

@@ -95,7 +95,7 @@
 							},
 						},
 						user: {
-							id: option.user.id+'',
+							id: option.user.id + '',
 							name: option.user.name
 						},
 						mode: option.model ? option.model : 'edit',
@@ -105,7 +105,7 @@
 							change: true
 						}
 					},
-					width: document.body.clientWidth -400,
+					width: document.body.clientWidth - 100,
 					height: document.body.clientHeight - 100,
 					token: option.token || ''
 				}