提交 8d24e12f authored 作者: 王鹏飞's avatar 王鹏飞

bug fxies

上级 b4aa10a1
...@@ -85,6 +85,7 @@ export default { ...@@ -85,6 +85,7 @@ export default {
this.material = material this.material = material
this.progress = progress this.progress = progress
const welcomeShowed = window.localStorage.getItem('welcomeShowed') === 'true' const welcomeShowed = window.localStorage.getItem('welcomeShowed') === 'true'
material.attachments = material.attachments || []
if (!material.attachments.length && !welcomeShowed) { if (!material.attachments.length && !welcomeShowed) {
this.welcomeShow = true this.welcomeShow = true
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论