提交 589ce376 authored 作者: pengxiaohui's avatar pengxiaohui

内容管理表单查看兼容旧数据

上级 5bf8c29b
...@@ -326,12 +326,12 @@ export default { ...@@ -326,12 +326,12 @@ export default {
} else { } else {
this.form.start_time = formatToDate(this.form.start_time) this.form.start_time = formatToDate(this.form.start_time)
} }
// if (this.form.enclosure_uri) { if (this.form.enclosure_uri && !this.form.enclosure_title) {
// this.form.enclosure_title = splitStrLast(this.form.enclosure_uri, '/') this.form.enclosure_title = splitStrLast(this.form.enclosure_uri, '/')
// } }
// if (this.form.video_uri) { if (this.form.video_uri && !this.form.video_title) {
// this.form.video_title = splitStrLast(this.form.video_uri, '/') this.form.video_title = splitStrLast(this.form.video_uri, '/')
// } }
} }
}, },
methods: { methods: {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论