Business scenarios need to jump with parameters. But the click event must be written in the v-for rendering template of Vue.
then results in sometimes good use and sometimes bad use. At first, it feels like it"s stuck, but it doesn"t seem to be stuck. It feels like VUE didn"t finish rendering
, so the jump with parameters from home page A to B to details page C BC sometimes works and sometimes doesn"t work. The default is when the network is in good condition.
Don"t say much and just post the code. I hope the god can take a look at it. I don"t understand
:
<tr v-for="m in GetTLPlanList">
<td style="color: -sharp5f9ae1;">{{m.PROJDATE}}</td>
<td>{{m.BoWei}}</td>
<td>{{m.CONTENTNAME}}</td>
<td>{{m.SHIPNAME}}</td>
<td style="font-size: 12px;">{{m.ENAME}}</td>
<td>{{m.LENGTH}}</td>
<td>{{m.TUGCODE}}</td>
<td v-if="m.IFNAVI =="0""></td>
<td v-if="m.IFNAVI =="1""></td>
<td>
<button v-cloak type="button"v-if="..."@click="Get_TLPlanWork(m.PLANID)"> </button>
<button v-cloak type="button"v-if="..."></button>
<button v-cloak type="button"v-if="..."@click="Get_TLPlanWork(m.PLANID)"></button>
<button v-cloak type="button"v-if="..."@click="Get_TLPlanWork(m.PLANID)"></button>
</td>
</tr>
JS part:
it"s too long. I"ll take a screenshot directly.
BJS
C()
this is probably the case that sometimes it works, but it is difficult to use the page console. If you don"t report an error, you can"t turn it around, but the AJAX of the C details page has successfully CON out, but the page doesn"t jump, and I don"t know why it feels like this hole is so deep that a lot of information hasn"t been solved.