紧急修复一老BUG
This commit is contained in:
@@ -368,9 +368,9 @@ export default {
|
||||
|
||||
getInfo(id) {
|
||||
id && this.instance.post(`/app/appdiylargescreen/queryLargeScreenDetailById?id=${id}`).then(res => {
|
||||
if (res.code === 0) {
|
||||
if (res?.data) {
|
||||
const data = JSON.parse(res.data.config)
|
||||
this.componentList = data.config
|
||||
this.componentList = data.config.filter(Boolean)
|
||||
this.dashboard = data.dashboard
|
||||
this.images = data.images || []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user