From be02113d27654518934dbd0c67903dd62386645d Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Sun, 29 Sep 2019 16:10:23 +0800 Subject: [PATCH] =?UTF-8?q?VNC=E4=B8=8D=E4=BF=9D=E5=AD=98=E9=80=9A?= =?UTF-8?q?=E5=85=B3=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 459ba5384..b539a0c68 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -355,7 +355,7 @@ class ApplicationController < ActionController::Base # type 0 创始内容, 1 最新内容 def game_passed_code(path, myshixun, game_id) # 如果代码窗口是隐藏的,则不用保存代码 - return if myshixun.shixun.hide_code + return if myshixun.shixun.hide_code || myshixun.shixun.vnc file_content = git_fle_content myshixun.repo_path, path unless file_content.present? raise("获取文件代码异常")