Skip to content

element-plus 中使用服务方式调用Loading ,不会自动引入样式 #582

@ZhenQingshan

Description

@ZhenQingshan

Describe the bug

element-plus 中使用服务方式调用Loading ,不会自动引入样式

        this.loading = ElLoading.service({
          lock: true,
          text: '正在卖力加载中....'
        });

Reproduction

    this.loading = ElLoading.service({           lock: true,           text: '正在卖力加载中....'         });

System Info

无样式

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions