This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
修改quill的迁移文件
tags/v1
sylor_huang@126.com
6 years ago
parent
609675afe9
commit
efec15a649
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
db/migrate/20200429085544_change_quill_to_md.rb
+ 1
- 1
db/migrate/20200429085544_change_quill_to_md.rb
View File
@@ -54,7 +54,7 @@ class ChangeQuillToMd < ActiveRecord::Migration[5.2]
new_content = ""
return "" if content.blank?
desc = JSON.parse(content)["ops"]
unless
desc.length > 0
if
desc.length > 0
desc.each do |d|
image = d["insert"]["image"]
if image.present?
Write
Preview
Loading…
Cancel
Save