Netty-使用執行緒池優化BIO-程式碼實現
阿新 • • 發佈:2021-01-28
技術標籤:vue.js
在Vue中給image標籤繫結src中遇到的問題(使用二維陣列例項)
出現的問題
- 問題描述
Errors compiling template: src="{{name.address}}": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of ,<div id="{{ val }}">, use <div :id="val">
- 例項
- 解決方案
將這個
<image src= "{{name.address}}" ></image>
替換為
<image :src= "name.address" ></image>
即可解決問題