* Load content based on URL * 根据 URL 加载内容
()
| 330 | * 根据 URL 加载内容 |
| 331 | */ |
| 332 | protected loadContent(): void { |
| 333 | this.clearContent(); |
| 334 | |
| 335 | if (!this._url) return; |
| 336 | |
| 337 | if (this._url.startsWith('ui://')) { |
| 338 | this.loadFromPackage(this._url); |
| 339 | } else { |
| 340 | this.loadExternal(); |
| 341 | } |
| 342 | } |
| 343 | |
| 344 | /** |
| 345 | * Load content from package |
no test coverage detected