在离子视图中未出现离子3背景图像SVG

Rod*_*ves 5 svg ionic-view ionic3

我正在使用Ionic 2开发应用程序。现在,我具有以下样式:

ion-content {
  background-image: url('/assets/images/orange-background.svg');
  background-repeat: no-repeat;
  background-size: 101%;
}
Run Code Online (Sandbox Code Playgroud)

当我ionic serve这工作得很好,但是当我上传新版本与离子通道查看,这个例子没有工作没有任何例子background-image.svg

我已经尝试过Ionic-svg没有出现,但是没有用。

提前致谢。

编辑1

我已经在以下网址尝试过此网址background-image

assets/images/orange-background.svg
/assets/images/orange-background.svg
../assets/images/orange-background.svg
./assets/images/orange-background.svg
Run Code Online (Sandbox Code Playgroud)

这些都不起作用:'(

编辑2

我只是发现此问题仅在iOS上发生。

Tiz*_*ard 0

也许网址不正确。在 .css 文件中:url ('../assets/images/orange-background.svg').

在其他情况下,您是否有所不同:在 Whindows 中,image.SVG当您在浏览器中测试应用程序时,它将起作用,但在 Linux(也包括 Android)中则不起作用。看来an和windows中的image.SVG是一样的image.svg