@jx3box/jx3box-common-ui 6.5.5 → 6.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/LeftSidebar.vue +1 -2
package/package.json
CHANGED
package/src/LeftSidebar.vue
CHANGED
|
@@ -77,7 +77,7 @@ export default {
|
|
|
77
77
|
this.setDecoration(JSON.parse(decoration_sidebar))
|
|
78
78
|
return;
|
|
79
79
|
}
|
|
80
|
-
getDecoration({using:1
|
|
80
|
+
getDecoration({using:1}).then(data=>{
|
|
81
81
|
let res=data.data.data
|
|
82
82
|
if(res.length==0){
|
|
83
83
|
//空 则为无主题,不再加载接口,界面设No
|
|
@@ -87,7 +87,6 @@ export default {
|
|
|
87
87
|
let decoration=res.filter(val => {
|
|
88
88
|
return val.type === 'sidebar'
|
|
89
89
|
})
|
|
90
|
-
console.log(decoration)
|
|
91
90
|
if(decoration.length>0){
|
|
92
91
|
sessionStorage.setItem('decoration_sidebar',JSON.stringify(decoration[0]))
|
|
93
92
|
this.setDecoration(decoration[0])
|