![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Vue
索芙特安吉尼尔
我就是我自己的神
展开
-
vue页面跳转传参
使用以下方式传参:this.$router.push({ path: 'registerowner', name: "registerowner", params:{companyType:'LOGISTICS'} })注意:需要使用name,如果只使用path传参会传不到...原创 2019-06-05 12:14:31 · 1688 阅读 · 0 评论 -
vue使用onblur无效
组件使用onblur无效时,使用@blur.native.capture=""来代替@blur。 @blur.native.capture="checkDataUnique('companyname')"另外,可以使用如下方式获取Vue组件的值:ref="companyName"(组件中配置)var value = this.$refs.companyName.value(获取值)...原创 2019-06-05 12:19:32 · 11428 阅读 · 1 评论