fix: props-util error

pull/2992/head
tanjinzhou 2020-10-14 10:28:46 +08:00
parent dd249789ec
commit bae31bc9a2
1 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
import isPlainObject from 'lodash-es/isPlainObject'; import isPlainObject from 'lodash-es/isPlainObject';
import classNames from './classNames'; import classNames from '../classNames';
import { isVNode, Fragment, Comment, Text, h } from 'vue'; import { isVNode, Fragment, Comment, Text, h } from 'vue';
import { camelize, hyphenate, isOn, resolvePropValue } from './util'; import { camelize, hyphenate, isOn, resolvePropValue } from '../util';
import isValid from './isValid'; import isValid from '../isValid';
// function getType(fn) { // function getType(fn) {
// const match = fn && fn.toString().match(/^\s*function (\w+)/); // const match = fn && fn.toString().match(/^\s*function (\w+)/);
// return match ? match[1] : ''; // return match ? match[1] : '';