We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当使用 template 默认 lang 时
<template> <view> <child :prop="list"/> </view> </template>
子组件能正常接收到 prop 在 child 中使用 this.prop 能获取到值
当使用 template lang="pug"
<template> view child(:prop="list") </template>
子组件无法接收到 prop this.prop 为 undefined 对比了下生成的 dist 发现少了类似如下的代码片段
_this.$props = { "ProductList": { "v-bind:prop.once": "list" } }, _this.$events = {},
The text was updated successfully, but these errors were encountered:
fixed pug props issue - #186
65f0e51
已修复,可以参看上述commit修改本地cli代码或者等待新版本发布修复这个问题。
Sorry, something went wrong.
已发布,请升级cli看看这个问题是否还存在。
fixed pug props issue - Tencent#186
b7677f1
No branches or pull requests
当使用 template 默认 lang 时
子组件能正常接收到 prop 在 child 中使用 this.prop 能获取到值
当使用 template lang="pug"
子组件无法接收到 prop this.prop 为 undefined
对比了下生成的 dist 发现少了类似如下的代码片段
The text was updated successfully, but these errors were encountered: