wukai 2 роки тому
батько
коміт
99c4791258
1 змінених файлів з 2 додано та 2 видалено
  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 || ''
 				}