Comments (14)
`
右部内容
</view>
`
from ant-design-mini.
贴下最小复现demo以及你的基础组件库版本
from ant-design-mini.
<container title="服务单号:SA2022080882">
<view slot="headerRight">右部内容</view>
<view>
sss
</view>
</container>
基础库版本:1.25.7
from ant-design-mini.
目标平台是钉钉小程序,但切换支付宝小程序也一样不显示
from ant-design-mini.
基础库版本低了,到服务群问问
from ant-design-mini.
- 如果版本号大于 1.24.0 ,说明当前是 V2 引擎
但在钉钉好像这个版本基础库不低了
from ant-design-mini.
同样碰到此问题,哪个是基础库哦
from ant-design-mini.
一样的问题,请问解决了吗
from ant-design-mini.
解决了:(项目是浙政钉,基础库也很低只有1.4,想升级也无门,GRD几乎没人维护,似乎跟基础库无关)
1.定位文件:“\node_modules\antd-mini\es\Container\ContainerHeader\index.axml”
,第18行
2.<slot/>
改为:<slot name="headerRight"></slot>
3. 小程序开发者工具 ,编译按钮 ,停止编译,再启动编译,刷新开效果
from ant-design-mini.
<view
class="amd-container-header-right"
>
<slot />
</view>
是修改为什么呢
from ant-design-mini.
<view class="amd-container-header-right" > <slot /> </view>
是修改为什么呢
不会用,html代码屏蔽了
from ant-design-mini.
from ant-design-mini.
解决了:(项目是浙政钉,基础库也很低只有1.4,想升级也无门,GRD几乎没人维护,似乎跟基础库无关) 1.定位文件:
“\node_modules\antd-mini\es\Container\ContainerHeader\index.axml”
,第18行 2.<slot/>
改为:<slot name="headerRight"></slot>
3. 小程序开发者工具 ,编译按钮 ,停止编译,再启动编译,刷新开效果
也就能临时用吧,还是得官方把包里的源码改掉;这个组件太多bug跟不完善的地方了
from ant-design-mini.
这个组件看起来有bug,需要修改props
#305
from ant-design-mini.
Related Issues (20)
- 手机端适配问题
- form的onValuesChange监听 HOT 4
- from表单的监听方法onValueChange赋值问题
- 纵向的tabs的scroll-view容器可以支持透传scroll-top、scroll-into-view等属性吗 HOT 3
- swipe-action滑动组件 HOT 1
- Popup组件目前只支持上下左右弹出,希望可以可以支持从中间弹出 HOT 1
- 日历组件需求征集 HOT 1
- form表单input框样式问题 HOT 1
- 希望avatar组件增加Icon和及字符类型
- 希望兼容一下微信小程序,虽然有点过分,但是这个需求很迫切呀 HOT 3
- antd-mini在小程序插件内报错:【插件公开组件的 acss 文件不支持使用 "元素选择器"】 HOT 2
- form-textarea HOT 1
- anti-mini组件 可供输入的下拉框 HOT 1
- 使用new form时 报错需要使用 component2 HOT 2
- 钉钉小程序 通过 dd.navigateTo跳转页面第二次报错,请问怎么解决呢 HOT 6
- input 的 type 设置 number 无效 HOT 3
- textarea 使用 onConfirm后无法清空输入的内容 HOT 4
- 如何在 input 设置了 disabled=true 时,修改 input 的字体样式 ? HOT 2
- popup组件关闭时,蒙层会闪屏 HOT 2
- popup 内的 picker-view 异常 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ant-design-mini.