lixun.yang

Results 3 comments of lixun.yang

刚改了下 components/Menu/menu.js,可以实现。 在菜单meta里配置 "resident":true 即可。 ``` import Menu from 'ant-design-vue/es/menu' import Icon from 'ant-design-vue/es/icon' export default { name: 'SMenu', props: { menu: { type: Array, required: true }, theme: {...

descriptor.params[@"fontSize"] = descriptor.params[@"fontFamily"] = 可以参考UILabel+BarrageView文件 id fontSizeObj = params[@"fontSize"]; CGFloat fontSize = fontSizeObj?[fontSizeObj doubleValue]:16.0f; NSString *fontFamily = params[@"fontFamily"]; self.font = fontFamily?[UIFont fontWithName:fontFamily size:fontSize]:[UIFont systemFontOfSize:fontSize];