Giter Site home page Giter Site logo

Comments (14)

hzhoup avatar hzhoup commented on May 16, 2024

`
右部内容

</view>

`

from ant-design-mini.

Alpsli avatar Alpsli commented on May 16, 2024

贴下最小复现demo以及你的基础组件库版本

from ant-design-mini.

hzhoup avatar hzhoup commented on May 16, 2024
<container title="服务单号:SA2022080882">
  <view slot="headerRight">右部内容</view>
  <view>
    sss
  </view>
</container>

基础库版本:1.25.7

from ant-design-mini.

hzhoup avatar hzhoup commented on May 16, 2024

目标平台是钉钉小程序,但切换支付宝小程序也一样不显示

from ant-design-mini.

Alpsli avatar Alpsli commented on May 16, 2024

基础库版本低了,到服务群问问

from ant-design-mini.

hzhoup avatar hzhoup commented on May 16, 2024
  • 如果版本号大于 1.24.0 ,说明当前是 V2 引擎

但在钉钉好像这个版本基础库不低了

from ant-design-mini.

BillyKingChina avatar BillyKingChina commented on May 16, 2024

同样碰到此问题,哪个是基础库哦

from ant-design-mini.

lcop957 avatar lcop957 commented on May 16, 2024

一样的问题,请问解决了吗

from ant-design-mini.

BillyKingChina avatar BillyKingChina commented on May 16, 2024

解决了:(项目是浙政钉,基础库也很低只有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.

jc9702507 avatar jc9702507 commented on May 16, 2024
<view 
  class="amd-container-header-right"
>
  <slot />
</view>

是修改为什么呢

from ant-design-mini.

BillyKingChina avatar BillyKingChina commented on May 16, 2024
<view 
  class="amd-container-header-right"
>
  <slot />
</view>

是修改为什么呢

不会用,html代码屏蔽了

from ant-design-mini.

jc9702507 avatar jc9702507 commented on May 16, 2024

image

from ant-design-mini.

lcop957 avatar lcop957 commented on May 16, 2024

解决了:(项目是浙政钉,基础库也很低只有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.

jc9702507 avatar jc9702507 commented on May 16, 2024

这个组件看起来有bug,需要修改props
#305

from ant-design-mini.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.