ElemeFE / ElemeFE/element

[Bug Report] this.$this.$loading问题

Open
#21,945 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.15.9

### OS/Browsers version
Chrome

### Vue version
2.7.0-beta.5

### Reproduction Link
https://codesandbox.io/s/boring-ptolemy-jwfoo4?title=暂无链接

### Steps to reproduce
完整引入element-ui

this.$loading(options) 调用

### What is Expected?
如果完整引入了 Element,那么 Vue.prototype 上会有一个全局方法 $loading,它的调用方式为:this.$loading(options),官方解释:
实际:this.$loading.service才能正确调用;
期望: this.$loading 直接调用

### What is actually happening?
必须通过this.$loading对象上面的service调用

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.