The H5 page developed by vue-cil is published to the background java server, and the background spring mvc provides how to transfer data from URL to APP.

several pages are packaged with vue-cil and published to the java server. The value sent by, spring mvc to vue,vue has not been received. Can vue use ${variable} to receive the value? Because the page developed by vue is released to the backend, and the backend exposes to the mobile phone through spring mvc, the mobile phone APP transfers the user name to the backend. After receiving the value through spring mvc, the backend wants to send the received value directly to the vue page. I do not want to write an interface to vue, because there are too many links back and forth, affecting efficiency. I want to directly pass the value through the same way as jsp. How can the H5 page developed by vue receive the value?

Mar.03,2021

if the data is rare and unimportant, you can splice it to url and pass it as a parameter. If there is too much, asynchronously request the API to obtain data in vue

Menu