1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-17 15:53:28 +00:00

dtable media_url (#3988)

This commit is contained in:
王健辉
2019-08-15 16:20:09 +08:00
committed by Daniel Pan
parent 1464b86bd6
commit aea002bbc0
3 changed files with 5 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ import { seafileAPI } from './utils/seafile-api';
import ViewFileDtable from '@seafile/dtable/es';
import './css/view-file-dtable.css';
const { server, workspaceID, username, userNickName, contactEmail, fileName, filePath, dtableUuid, dtableServer, dtableSocket } = window.app.pageOptions;
const { server, workspaceID, username, userNickName, contactEmail, fileName, filePath, dtableUuid, dtableServer, dtableSocket, mediaUrl } = window.app.pageOptions;
window.dtable = {};
window.dtable = {
workspaceID: workspaceID,
@@ -17,6 +17,7 @@ window.dtable = {
filePath: filePath,
fileName: fileName,
dtableUuid: dtableUuid,
mediaUrl: mediaUrl,
accessToken: ''
};