|
@@ -849,10 +849,9 @@ const projTreeObj = {
|
|
|
BeforeOpenProject(node.data.ID, {'fullFolder': GetFullFolder(node.parent)}, function () {
|
|
|
let mainUrl = `/main?project=${node.data.ID}`;
|
|
|
CommonAjax.get(mainUrl, [], function () {
|
|
|
- newTab.location.href = mainUrl;
|
|
|
+ newTab.location.replace(mainUrl); //不能后退
|
|
|
});
|
|
|
});
|
|
|
- return;
|
|
|
}, timeoutTime);
|
|
|
}
|
|
|
if (!node || node.children.length === 0) { return; }
|
|
@@ -872,6 +871,7 @@ const projTreeObj = {
|
|
|
};
|
|
|
TreeNodeCellType.prototype.processMouseMove = function (hitInfo) {
|
|
|
let sheet = hitInfo.sheet;
|
|
|
+
|
|
|
let div = sheet.getParent().getHost();
|
|
|
let canvasId = div.id + "vp_vp";
|
|
|
let canvas = $(`#${canvasId}`)[0];
|