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

依赖@antv/layout,使用装饰器,会导致界面404 #43

Closed
kevinchangm opened this issue Sep 13, 2021 · 1 comment · Fixed by #111
Closed

依赖@antv/layout,使用装饰器,会导致界面404 #43

kevinchangm opened this issue Sep 13, 2021 · 1 comment · Fixed by #111
Assignees
Labels
bug Something isn't working

Comments

@kevinchangm
Copy link

kevinchangm commented Sep 13, 2021

"@antv/layout"依赖的库 "@antv/g-webgpu": "0.5.5",存在不,会导致使用装饰器的页面挂掉,请帮助尽快修复下
bug修复地址:rbuckton/reflect-metadata#107

exporter("deleteMetadata", deleteMetadata);
    function DecorateConstructor(decorators, target) {
        for (var i = decorators.length - 1; i >= 0; --i) {
            var decorator = decorators[i];
            var decorated = decorator(target);
            if (!IsUndefined(decorated) && !IsNull(decorated)) {
                if (!IsConstructor(decorated))
                    throw new TypeError();
                target = decorated;
            }
        }
        return target;
    }
@kevinchangm kevinchangm changed the title "@antv/layout" 依赖@antv/layout,使用装饰器,会导致界面404 Sep 13, 2021
@Yanyan-Wang
Copy link
Contributor

@antv/g-webgpu 这个应该存在的呀,请确认下是否正确安装

@hustcc hustcc mentioned this issue May 7, 2022
5 tasks
@xiaoiver xiaoiver self-assigned this Nov 11, 2022
@xiaoiver xiaoiver added the bug Something isn't working label Nov 11, 2022
Yanyan-Wang pushed a commit that referenced this issue Nov 29, 2022
* fix: use latest g-webgpu with smaller sized bundle #43

* chore: bump g-webgpu version
Yanyan-Wang added a commit that referenced this issue Nov 29, 2022
#111)

* chore: upgrade webgpu and regenerate shader code for gpu layouts, closes: #43;

* chore:refine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants