我正在使用离子v1
这是我的文件夹结构.
这是我的文件夹结构.
www\tempaltes\acct\
在我的acct文件夹下,我有acct-home.html和patient_default.png
我试图使用此代码在acct-home中显示我的patient_default.png.
<img src="patient_default.png" alt="Test" width="100px" height="100px">
请注意,acct-home.html和patient_default.png位于同一文件夹中.
但它无法正确显示.
我这样做错了吗?你的帮助真的很感激.
更新的问题:
这是我的文件夹结构
root --API --patient_default.png --Www --templates --acct --acct-home.html
我试过用
<img src="../../API/patient_default.png" alt="Test" width="100px" height="100px">
它什么都没显示.