forbidSave in replay

This commit is contained in:
ckcz123 2021-02-03 16:09:57 +08:00
parent 3ed76a74fb
commit 51fd30c14c

View File

@ -1407,6 +1407,7 @@ control.prototype._replay_SL = function () {
if (!core.status.replay.pausing) return core.drawTip("请先暂停录像"); if (!core.status.replay.pausing) return core.drawTip("请先暂停录像");
if (core.isMoving() || core.status.replay.animate || core.status.event.id) if (core.isMoving() || core.status.replay.animate || core.status.event.id)
return core.drawTip("请等待当前事件的处理结束"); return core.drawTip("请等待当前事件的处理结束");
if (core.hasFlag('__forbidSave__')) return core.drawTip('当前禁止存档');
this._replay_hideProgress(); this._replay_hideProgress();
core.lockControl(); core.lockControl();