Skip to content

Write style error on tree component #5010

@luo-geng

Description

@luo-geng
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.0.0-alpha.14

Environment

win10;360极速-版本号:21.0.1040.0内核版本:95.0.4621.0;vue3.2.22

Reproduction link

Edit on CodeSandbox

Steps to reproduce

点击弹窗报错: TypeError: Failed to set an indexed property on 'CSSStyleDeclaration': Indexed property setter is not supported.

 | setStyle | @ | runtime-dom.esm-bundler.js?830f:160
  | patchStyle | @ | runtime-dom.esm-bundler.js?830f:115
  | patchProp | @ | runtime-dom.esm-bundler.js?830f:377
  | mountElement | @ | runtime-core.esm-bundler.js?5c40:3807
  | processElement | @ | runtime-core.esm-bundler.js?5c40:3770
  | patch | @ | runtime-core.esm-bundler.js?5c40:3690
  | componentUpdateFn | @ | runtime-core.esm-bundler.js?5c40:4238
  | run | @ | reactivity.esm-bundler.js?a1e9:160
  | callWithErrorHandling | @ | runtime-core.esm-bundler.js?5c40:6706
  | flushJobs | @ | runtime-core.esm-bundler.js?5c40:6945
  | Promise.then (async) |   |  
  | nextTick | @ | runtime-core.esm-bundler.js?5c40:6797
  | useInsertStyles | @ | utils.js?2adb:78
  | IconBase | @ | IconBase.js?6ba3:44

What is expected?

正常弹出

What is actually happening?

TypeError: Failed to set an indexed property on 'CSSStyleDeclaration': Indexed property setter is not supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions