mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 12:07:54 +08:00
fix
This commit is contained in:
parent
591f286618
commit
a3c1d235a1
@ -217,8 +217,7 @@ export function mergeProps () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function isValidElement (element) {
|
function isValidElement (element) {
|
||||||
const name = element.constructor.name
|
return element && element.context && element.context._isVue
|
||||||
return element.tag && (name === 'VNode' || name === 'VueComponent')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export {
|
export {
|
||||||
|
@ -12,7 +12,6 @@ const modulePlugin = new ExtractTextPlugin({
|
|||||||
})
|
})
|
||||||
|
|
||||||
module.exports = merge(baseWebpackConfig, {
|
module.exports = merge(baseWebpackConfig, {
|
||||||
devtool: '#source-map',
|
|
||||||
output: {
|
output: {
|
||||||
path: path.resolve(__dirname, './dist'),
|
path: path.resolve(__dirname, './dist'),
|
||||||
publicPath: './',
|
publicPath: './',
|
||||||
|
Loading…
Reference in New Issue
Block a user