Skip to content
New issue

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

[Bug] 编译警告 [Compile TTML error] Duplicate attribute #2307

Closed
wenfangdu opened this issue May 23, 2023 · 0 comments · Fixed by #2309
Closed

[Bug] 编译警告 [Compile TTML error] Duplicate attribute #2307

wenfangdu opened this issue May 23, 2023 · 0 comments · Fixed by #2309
Labels
Milestone

Comments

@wenfangdu
Copy link
Contributor

NutUI scenes(nutui 场景)

小程序(@nutui/nutui-taro)

NutUI-vue version(nutui-vue 版本)

4.0.7

Vue version(vue 版本)

3.3.4

Operating environment(运行环境)

dev:tt

Citation method(引用方式)

npm

Node version(node 版本)

16.19.1

Browser and its version(浏览器及其版本)

Chrome 113

System and its version(系统及其版本)

macOS 13

Taro environmental information(taro 环境信息)

 Taro CLI 3.6.6 environment info:
    System:
      OS: macOS 13.3.1
      Shell: 5.2.15 - /opt/homebrew/bin/bash
    Binaries:
      Node: 16.19.1 - ~/.nvm/versions/node/v16.19.1/bin/node
      Yarn: 1.22.19 - ~/Library/pnpm/yarn
      npm: 9.6.2 - ~/Library/pnpm/npm
    npmPackages:
      @tarojs/cli: 3.6.6 => 3.6.6 
      @tarojs/components: 3.6.6 => 3.6.6 
      @tarojs/helper: 3.6.6 => 3.6.6 
      @tarojs/plugin-framework-vue3: 3.6.6 => 3.6.6 
      @tarojs/plugin-html: 3.6.6 => 3.6.6 
      @tarojs/plugin-platform-alipay: 3.6.6 => 3.6.6 
      @tarojs/plugin-platform-h5: 3.6.6 => 3.6.6 
      @tarojs/plugin-platform-jd: 3.6.6 => 3.6.6 
      @tarojs/plugin-platform-qq: 3.6.6 => 3.6.6 
      @tarojs/plugin-platform-swan: 3.6.6 => 3.6.6 
      @tarojs/plugin-platform-tt: 3.6.6 => 3.6.6 
      @tarojs/plugin-platform-weapp: 3.6.6 => 3.6.6 
      @tarojs/runtime: 3.6.6 => 3.6.6 
      @tarojs/shared: 3.6.6 => 3.6.6 
      @tarojs/taro: 3.6.6 => 3.6.6 
      @tarojs/webpack5-runner: 3.6.6 => 3.6.6 
      babel-preset-taro: 3.6.6 => 3.6.6 
      eslint-config-taro: 3.6.6 => 3.6.6 

Reproduction link(重现链接)

github.com

Steps to reproduce(重现步骤)

pnpm run dev:tt

What is expected?(期望的结果是什么?)

没有警告

What is actually happening?(实际的结果是什么?)

image
编译警告 [Compile TTML error] Duplicate attribute.
at base.ttml (137:294)

135: 
136: <template name="tmpl_0_10">
137:   <audio id="{{i.p2}}" src="{{i.p6}}" loop="{{i.p3===undefined?!1:i.p3}}" controls="{{i.p1===undefined?!1:i.p1}}" poster="{{i.p5}}" name="{{i.p4}}" author="{{i.p0}}" binderror="eh" bindplay="eh" bindpause="eh" bindtimeupdate="eh" bindended="eh" style="{{i.st}}" class="{{i.cl}}" bindtap="eh"  id="{{i.uid||i.sid}}" data-sid="{{i.sid}}"></audio>
                                                                                                                                                                                                                                                                                                           ^
138: </template>
@eiinu eiinu added this to the v4.0.8 milestone May 24, 2023
@eiinu eiinu added the bug label May 24, 2023
@eiinu eiinu linked a pull request May 24, 2023 that will close this issue
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants