Kagol

Results 210 comments of Kagol

@wall-git 还可以通过设置全局变量的方式使用mobile组件。 如果你是 Vue3 项目: ``` import { getCurrentInstance } from 'vue' const app = getCurrentInstance() app.config.globalProperties.tiny_mode = 'mobile' ``` 如果你是 Vue2 项目: ``` Vue.prototype.tiny_mode="mobile" ```

@harvenzhang 可否描述详细一下这个需求,比如希望给什么组件增加功能,最好补充一些截图辅助表格,感谢你的大力支持!

@1083314824 这个是TinyPro头部暴露出来的方法,你修改这个是希望达到什么效果呢?

@lanrenbulan We need this component, welcome to submit PR to provide this component.🙏

@mjl30601901 我试了下也是可以过滤的,你的意思是不是不能模糊匹配,目前的过滤是精确关键字匹配的。

For more information on how to supplement the type declaration of a component, please refer to discussion #252

The TypeScript type declaration of the component needs to be continuously improved.

@hashiqi12138 这是一个很好的思路👍,对于现有组件的改造是不是就只需要给组件包裹一层 DesignConfigPropsHOC 函数,对于用户而言只需要像之前一样在 designConfig 中配置 props 就行了。如果可以的话可以提交一个PR,以一个组件为例,看下整体效果如何,效果好的话可以逐步推广到其他组件🤝