svg icon is loaded dynamically. The default path is http://xxx.com/assets/outline.
. How can I change it to http://xxx.com/valkyrie/stati.?
svg icon is loaded dynamically. The default path is http://xxx.com/assets/outline.
. How can I change it to http://xxx.com/valkyrie/stati.?
resolved, use NzIconService to change prefix
export class AppComponent {
constructor(private _iconService: NzIconService) {
this._iconService.changeAssetsSource('//admin.bytedance.com/valkyrie/static');
}
}
Previous: Mini Program: how to add an array to an object and an object to an array?
Next: How to introduce Tencent player Tcplayer into vue Project