MCPcopy Create free account
hub / github.com/ygs-code/vue / getComponentName

Function getComponentName

vue.js:7169–7171  ·  view source on GitHub ↗
(opts)

Source from the content-addressed store, hash-verified

7167 * 获取组件的名称
7168 */
7169 function getComponentName(opts) {
7170 return opts && (opts.Ctor.options.name || opts.tag)
7171 }
7172
7173 // 判断pattern 中是否还有 name
7174 function matches(pattern, name) {

Callers 2

pruneCacheFunction · 0.85
vue.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected