wepy live-player 双标签被编译成单标签

lh80um4z  于 2021-11-29  发布在  Java
关注(0)|答案(1)|浏览(267)

Description

【bug】live-player 双标签被编译成单标签 里面的cover-view 不被编译

Environment

  • Platform: [开发者工具]
  • Platform version: [1.03.2006090]
  • wepy-cli version: [^2.0.0-alpha.28]
  • wepy version: ["^2.0.0-alpha.16"]

Reproduce

live-player编译错误 源码

<live-player>
      <cover-view>
        123
      </cover-view>
</live-player>

Observed Results

live-player 被编译成了单标签,里面的内容不编译

<live-player />

Expected Results

正确编译live-player

Relevant Code / Logs

package.json

"dependencies": {
  "@wepy/x": "^2.0.2",
  "@wepy/core": "^2.0.0-alpha.16",
  "miniprogram-slide-view": "0.0.3"
},
"devDependencies": {
  "@wepy/cli": "^2.0.0-alpha.28",
  "@babel/core": "^7.1.0",
  "@babel/preset-env": "^7.1.0",
  "@wepy/babel-plugin-import-regenerator": "0.0.2",
  "babel-eslint": "^7.2.1",
  "cross-env": "^5.1.3",
  "eslint": "^3.18.0",
  "eslint-config-standard": "^7.1.0",
  "eslint-friendly-formatter": "^2.0.7",
  "eslint-plugin-html": "^2.0.1",
  "eslint-plugin-promise": "^3.5.0",
  "eslint-plugin-standard": "^2.0.1",
  "wepy-eslint": "^1.5.3",
  "less": "^3.8.1",
  "@wepy/compiler-babel": "^2.0.1",
  "@wepy/compiler-less": "^2.0.1"
}
 ```
t3psigkw

t3psigkw1#

该问题在 wepy 2.1.0版本中依旧出现。

相关问题