To fix this error, replace the "lay-value" attribute with "v-bind:value" or ":value" and the interpolation syntax with the property name. For example, if the city object has a name property, change the code from:

lay-value="{{city.name}}"

to:

v-bind:value="city.name"

or

:value="city.name"

Error compiling templatelay-value=cityname 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

原文地址: http://www.cveoy.top/t/topic/bd3S 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录