从route.query中获取指定名称的参数信息,
vue路由,route.query
参数名
const query = useRoute().query;const modelName = vueGetParamFromQuery(query, 'model');if (modelName) { // do something} Copy
const query = useRoute().query;const modelName = vueGetParamFromQuery(query, 'model');if (modelName) { // do something}
从route.query中获取指定名称的参数信息,