diff --git a/module/common/model.php b/module/common/model.php index 10b202baa1..d9e3f13349 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -1194,7 +1194,10 @@ class commonModel extends model * 忽略无请求头 HTTP_SEC_FETCH_DEST 或者 HTTP_SEC_FETCH_DEST 为 iframe 的请求,较新的浏览器在启用 https 的情况下才会正确发送该请求头。 * Ignore the request without HTTP_SEC_FETCH_DEST or HTTP_SEC_FETCH_DEST is iframe, the latest browser will send this request header correctly when enable https. */ - if(!isset($_SERVER['HTTP_SEC_FETCH_DEST']) || $_SERVER['HTTP_SEC_FETCH_DEST'] == 'iframe') return true; + $this->app->loadConfig('index'); + $module = $this->app->getModuleName(); + $method = $this->app->getMethodName(); + if(in_array("{$module}-{$method}", $this->config->index->oldPages) && (!isset($_SERVER['HTTP_SEC_FETCH_DEST']) || $_SERVER['HTTP_SEC_FETCH_DEST'] == 'iframe')) return true; /** * 当有 HTTP_REFERER 请求头时,忽略 safari 浏览器,因为 safari 浏览器不会正确发送 HTTP_SEC_FETCH_DEST 请求头。 @@ -1210,7 +1213,6 @@ class commonModel extends model * 忽略所有方法名以 ajax 开头的请求。 * Ignore all requests which it's method name starts with 'ajax'. */ - $method = $this->app->getMethodName(); if(strpos($method, 'ajax') === 0) return true; /** diff --git a/module/task/css/create.ui.css b/module/task/css/create.ui.css index f5369897cf..d82c101a93 100644 --- a/module/task/css/create.ui.css +++ b/module/task/css/create.ui.css @@ -5,3 +5,5 @@ .assignedToBox .add-team {height: 24px; width: 81px; margin-left: 0.25rem;} .panel-heading {z-index: 2 !important;} .assignedToBox.border {border-color: var(--form-control-border); padding-top: 0.25rem; padding-bottom: 0.25rem;} + +#modalTeam .form-actions {bottom: -1.5rem; padding-bottom: 1.5rem;}