@seafile/sdoc-editor 0.1.146-beta1 → 0.1.146-beta2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -292,9 +292,11 @@ var SimpleEditor = function SimpleEditor(_ref) {
|
|
|
292
292
|
// 通知其他用户文档已经发布
|
|
293
293
|
var targetURL = "".concat(siteRoot, "lib/").concat(repoID, "/file/").concat(originFilePath);
|
|
294
294
|
editorRef.current.publishDocument(targetURL);
|
|
295
|
-
setShowTip(false);
|
|
296
295
|
// 跳转页面
|
|
296
|
+
|
|
297
|
+
console.log(targetURL);
|
|
297
298
|
jumpToURL(targetURL);
|
|
299
|
+
setShowTip(false);
|
|
298
300
|
}
|
|
299
301
|
}).catch(function (error) {
|
|
300
302
|
toaster.danger(t('Error'));
|