[Vue warn]: Property or method "modelInfo" is not defined on the instance but referenced during render这是我在获取数据时收到的错误 <template> {{ modelInfo }}</template>
import searchByNameQn
我使用的是Nuxt.js,它有一个动态页面,定义在所以,当我访问页面url时,比如说,,我如何读取页面中的这个片段参数值。every time before loading the component slug: params.slug }
这很好,但我认为这不是最好的方法,应该有更好的方法使参数可用于页面。任何帮助都是非常感谢