我的代码如下所示:
test.html
<div class="q-img-container">
<img id="q-order-img" src="../img/ic_truck.png" alt=""></img>
</div>
但是它给了我以下错误:
"Unhandled Promise rejection:"
"Template parse errors:
Void elements do not have end tags "img" ("iv class="q-img-container">
<img id="q-order-img" src="../img/ic_truck.png" alt="">[ERROR ->]</img>
</div>
我的目录结构如下所示:
---app
------img
----------ic_truck.png
------template
----------test.html
我在这里错过了什么?