fix
parent
1ec7df4a85
commit
0cf88eeae3
|
@ -44,7 +44,7 @@ export default {
|
||||||
const { prefixCls, shape, size, src, icon } = this
|
const { prefixCls, shape, size, src, icon } = this
|
||||||
return {
|
return {
|
||||||
[`${prefixCls}`]: true,
|
[`${prefixCls}`]: true,
|
||||||
[`${prefixCls}-image`]: !!src && this.state.isImgExist,
|
[`${prefixCls}-image`]: !!src,
|
||||||
[`${prefixCls}-icon`]: !!icon,
|
[`${prefixCls}-icon`]: !!icon,
|
||||||
[`${prefixCls}-${shape}`]: true,
|
[`${prefixCls}-${shape}`]: true,
|
||||||
[`${prefixCls}-lg`]: size === 'large',
|
[`${prefixCls}-lg`]: size === 'large',
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<script>
|
<script>
|
||||||
import omit from 'omit.js'
|
import omit from 'omit.js'
|
||||||
import cloneDeep from 'lodash.clonedeep'
|
|
||||||
import RcMenu, { Divider, ItemGroup, SubMenu } from '../vc-menu'
|
import RcMenu, { Divider, ItemGroup, SubMenu } from '../vc-menu'
|
||||||
import PropTypes from '../_util/vue-types'
|
import PropTypes from '../_util/vue-types'
|
||||||
import animation from '../_util/openAnimation'
|
import animation from '../_util/openAnimation'
|
||||||
|
|
Loading…
Reference in New Issue