search

Home  >  Q&A  >  body text

javascript - The page is not rendered after vue sends ajax, but there is data in the console

高洛峰高洛峰2816 days ago713

reply all(6)I'll reply

  • 女神的闺蜜爱上我

    女神的闺蜜爱上我2017-06-27 09:19:57

    This is drifting bro

    reply
    0
  • 迷茫

    迷茫2017-06-27 09:19:57

    Is data.value_list returning an array?

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-06-27 09:19:57

    Print outside the function to see if there is data. If there is no data, it should not be updated

    reply
    0
  • 代言

    代言2017-06-27 09:19:57

    then(res=>{
    
    })

    Remove function

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-06-27 09:19:57

    Pay attention to the transformation of this pointer

    reply
    0
  • 大家讲道理

    大家讲道理2017-06-27 09:19:57

    Maybe vue does not support your way of writing html tags
    Try changing it to the following one?

    <li v-for="item in matchValueList">
        <!--<li>{{item.name}}</li>--注释了-->
        <span>{{item.name}}</span>
    </li>

    reply
    0
  • Cancelreply