vuejs / language-tools

⚡ High-performance Vue language tooling based-on Volar.js
https://marketplace.visualstudio.com/items?itemName=Vue.volar
MIT License
5.79k stars 390 forks source link

type “CreateComponentPublicInstance> Nonexistent attribute “TREE_WIDTH_CONTAINER #4680

Closed maxfrees closed 1 month ago

maxfrees commented 1 month ago

Vue - Official extension or vue-tsc version

lastest

VSCode version

1.92

Vue version

lastest

TypeScript version

5.4.5

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (16) x64 AMD Ryzen 7 7730U with Radeon Graphics
    Memory: 3.93 GB / 14.83 GB
  Binaries:
    Node: 20.15.0 - E:\node\node.EXE
    Yarn: 1.22.22 - E:\npm-global\yarn.CMD
    npm: 10.7.0 - E:\node\npm.CMD
    pnpm: 9.7.0 - E:\npm-global\pnpm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (127.0.2651.86)
    Internet Explorer: 11.0.19041.1566

Steps to reproduce

类型“CreateComponentPublicInstance<Readonly<ExtractPropTypes<{}>>, { productLineList: typeof productLineList; isLoadingProductLineList: typeof isLoadingProductLineList; handleQueryProductLineList: typeof handleQueryProductLineList; ... 14 more ...; EquipmentInfoManageApis: typeof EquipmentInfoManageApis; }, ... 17 more ....”上不存在属性“TREE_WIDTH_CONTAINER

What is expected?

base-card class="mr" :content-style="{ height: '100%' }" :class="[`w-${TREE_WIDTH_CONTAINER}px!`]"

类型“CreateComponentPublicInstance<Readonly<ExtractPropTypes<{}>>, { productLineList: typeof productLineList; isLoadingProductLineList: typeof isLoadingProductLineList; handleQueryProductLineList: typeof handleQueryProductLineList; ... 14 more ...; EquipmentInfoManageApis: typeof EquipmentInfoManageApis; }, ... 17 more ....”上不存在属性“TREE_WIDTH_CONTAINER”

What is actually happening?

类型“CreateComponentPublicInstance<Readonly<ExtractPropTypes<{}>>, { productLineList: typeof productLineList; isLoadingProductLineList: typeof isLoadingProductLineList; handleQueryProductLineList: typeof handleQueryProductLineList; ... 14 more ...; EquipmentInfoManageApis: typeof EquipmentInfoManageApis; }, ... 17 more ....”上不存在属性“TREE_WIDTH_CONTAINER

Link to minimal reproduction

No response

Any additional comments?

No response

KazariEX commented 1 month ago

Please provide the exact version number and a more complete context.

KermanX commented 1 month ago

非常抱歉,由于信息不足,我们无法提供帮助。请完善信息并提供尽可能短的复现代码后重新打开该issue