CodePudding
Home
front end
Back-end
Net
Software design
Enterprise
Blockchain
Mobile
Software engineering
database
OS
other
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>
<body>
{{waybill. Qwerty}}
<script SRC="https://bbs.csdn.net/topics/~/js/vue@2.6.12/dist/vue.js" & gt; </script>
<script SRC="https://bbs.csdn.net/topics/~/js/axios@0.21.1/dist/axios.js" & gt; </script>
<script>
Var app=new Vue ({
El: '# app,
Data: the function () {
Return {
Waybill: {
},
}
},
Methods: {
DoQuery: function () {
Axios. Post (" @ Url. Content (" ~/Waybill/GetWaybillInfo ") ", 26} {waybill_id:)
Then (response=& gt; {
This. The waybill=response. The data. The waybill;
this. Waybill. Qwerty="aa1";
});
//this. Waybill. Qwerty="aa2";
},
},
Mounted () {
Enclosing doQuery ();
}
})
</script>