wukai hace 2 años
padre
commit
dbf8eae2ca
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/biz/onlyoffice/index.vue

+ 1 - 1
src/views/biz/onlyoffice/index.vue

@@ -85,7 +85,7 @@
 					this.option.title = '测试word';
 					this.option.key=this.formData.fileId;
 					this.option.fileType = "docx";
-					this.option.editUrl = "${window.location.origin}${import.meta.env.VITE_APP_BASE_API}/only-office/callback/${this.formData.fileId}";
+					this.option.editUrl = `${window.location.origin}${import.meta.env.VITE_APP_BASE_API}/only-office/callback/${this.formData.fileId}`;
 
 					this.option.user = {
 						id: useUserStore().uid, //用户ID