@ -714,6 +714,7 @@ class ShixunsController < ApplicationController
end
rescue Exception => e
logger.info("shixun_exec error: #{e.message}")
if e.message != "ActiveRecord::RecordInvalid"
logger.error("##########project_fork error #{e.message}")
@myshixun.destroy!
@ -25,7 +25,9 @@ class ProjectPackages::SaveService < ApplicationService
ActiveRecord::Base.transaction do
package.assign_attributes(params)
columns = %i[project_package_category_id title content deadline_at
min_price max_price contact_name contact_phone]
package.assign_attributes(params.slice(*columns))
package.save!
# 处理附件
@ -305,9 +305,6 @@ class CommonWorkDetailIndex extends Component{
.floatSpinParent .ant-spin-nested-loading {
float: right;
}
.floatSpinParent .ant-spin-nested-loading .ant-spin-spinning{
top: 10px;
`}</style>
{this.props.isAdmin()? <Spin spinning={this.state.donwloading} style={{ }}>
<li className="li_line drop_down fr color-blue font-16 mr8 mt20" style={{"padding":"0 20px"}}>