()
| 2649 | }) |
| 2650 | }, |
| 2651 | async initPage() { |
| 2652 | // 渲染数据 |
| 2653 | this.templateList.sort((a, b) => { |
| 2654 | return a.property.shareApiId ? 1 : -1 // 排序 shareApiId 往后排 |
| 2655 | }) |
| 2656 | await this.$nextTick() |
| 2657 | this.onResize() |
| 2658 | // 初始化背景图片的属性 |
| 2659 | if (this.basicConfig.blur) { |
| 2660 | this.$refs.background.style.filter = `blur(${this.basicConfig.blur}px)` |
| 2661 | } |
| 2662 | }, |
| 2663 | }, |
| 2664 | template: ` <div ref="body" style="width:100%;height:100%"> |
| 2665 | <resize-observer @notify="onResize" /> |
nothing calls this directly
no outgoing calls
no test coverage detected