Home > front end >  O solve the problem of Vue about responsive properties, one day have no result
O solve the problem of Vue about responsive properties, one day have no result

Time:02-11

Post code first:



<meta charset="utf-8"/& gt;
Invoice details & lt;/title> <br/></head> <br/><body> <br/><Div id="app" & gt; <br/><Div id="main" & gt; <br/><br/><strong> {{waybill. Qwerty}} </strong> <span style="color: # FF0000;"> </span> <br/><br/></div> <br/></div> <br/></body> <br/><br/><script SRC="https://bbs.csdn.net/topics/~/js/vue@2.6.12/dist/vue.js" & gt; </script> <br/><script SRC="https://bbs.csdn.net/topics/~/js/axios@0.21.1/dist/axios.js" & gt; </script> <br/><script> <br/><br/><br/>Var app=new Vue ({<br/>El: '# app, <br/>Data: the function () {<br/>Return {<br/>Waybill: {<br/><br/>}, <br/><br/>} <br/>}, <br/>Methods: {<br/><br/>DoQuery: function () {<br/><br/><br/>Axios. Post (" @ Url. Content (" ~/Waybill/GetWaybillInfo ") ", 26} {waybill_id:) <br/>Then (response=& gt; {<br/><br/>This. The waybill=response. The data. The waybill; <br/><span style="color: # FF0000;"> this. Waybill. Qwerty="aa1"; </span> <strong> </strong> <br/><br/>}); <br/><br/><br/>//this. Waybill. Qwerty="aa2"; <br/><br/>}, <br/><br/>}, <br/>Mounted () {<br/><br/>Enclosing doQuery (); <br/><br/>} <br/>}) <br/></script> <br/></html> <br/><br/><br/>-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br/>According to my understanding, qwerty not responsive properties, logically speaking, should not be displayed! But the truth in my browser, aa1 shows! The ajax request code commented out, aa2 is able to show <br/>If the this waybill=response. Data. Waybill; Aa1 this commented out, don't show, why? <br/>I know should be using the Vue. Set to set up, but I want to know why is the purpose of Posting the above code can be displayed aa1, <br/> </div> <div class="th_page th_page_color"></div> <div class="umCopyright"> <p>Page link:<a href="/frontend/101592.html" target="_blank" style="color:#999">https//www.codepudding.com/frontend/101592.html</a></p> </div> <div class="detail-arr"> <div class="detail-arr-left">Prev:<a href='/frontend/101591.html'>Customize a hotmail batch change software</a></div> <div class="detail-arr-right">Next:<a href='/frontend/101593.html'>Questions about the regular expression in Java Script</a></div> </div> </div> </div> </div> </div> <div class="container th_top"> <div class="row"> <div class="col-md-12"> <div class="hot-tags neitags"> <ul> <li><i class="iconfont icon-x-tags"></i> Tags:  </li> <a href='/e/tags/?tagname=JavaScript' target='_blank'>JavaScript</a> </ul> </div> </div> </div> </div> <div class="container th_top"> <div class="row"> <div class="col-md-12"> <div class="xiangguan"> <ul class="msg msghead"> <li class="tbname">Related</li> </ul> <ul> </ul> </div> </div> </div> </div> <div class="container th_top"> <div class="row"> <div class="col-md-12"> <div class="flinks"> <ul> <li><i class="iconfont icon-x-tags"></i> Links:  </li> <li class="liflinks"><a target="_blank" href="/" title="CodePudding">CodePudding</a></li> </ul> </div> </div> </div> </div> <div class="footer"> <p><span style="font-size:16px;color:#666;font-weight: bold">About Us:</span>  <a href="https://www.codepudding.com/contact.html">Contact Us</a>      <a href="https://www.codepudding.com/service.html">Terms of Service</a>      <a href="https://www.codepudding.com/privacy.html"> Privacy Policy</a></p> <p class="foot_info">Copyright © 2010-2023,Powered By <a href="/" target="_blank">CodePudding</a> </p> </div> <script type="text/javascript" src="/skin/code/tianhu.js"></script> </body></html>