Data is not properly displayed in VueJS

只愿长相守 提交于 2019-12-24 00:48:41

问题


I have a small problem with my VueJS code, in the section "Output : Compressed GS1 Digital Link URI"

When there is no result, it should have nothing display like this (I have removed manually) :

I think I should put an if statement and only display the result if there is something. Here is my code :

<input id="uncompressedDigitalLinkInput" class="digitalLink" type="text" v-model="uncompressedDigitalLinkInput">
<td class="charCount">{{uncompressedDigitalLinkInput.length}}</td>

What do you think ?

Thanks for your help :)

来源:https://stackoverflow.com/questions/58255588/data-is-not-properly-displayed-in-vuejs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!