Coder Social home page Coder Social logo

Comments (6)

18148764734 avatar 18148764734 commented on June 12, 2024

可能是npm包不是最新的,你下载插件市场最新的插件然后覆盖掉npm包里面的popup插件试试,插件市场上的我测试了小程序没问题

from uni-ui.

cssmagic avatar cssmagic commented on June 12, 2024

我是用同一套代码和依赖编译出的 H5 和小程序。我也奇怪为什么效果不一样。

我再试试。谢谢回复。

from uni-ui.

18148764734 avatar 18148764734 commented on June 12, 2024

我是用同一套代码和依赖编译出的 H5 和小程序。我也奇怪为什么效果不一样。

我再试试。谢谢回复。

更新到最新版还会复现该问题吗

from uni-ui.

cssmagic avatar cssmagic commented on June 12, 2024

抱歉,最近还没来得及详细确认。

初步怀疑是我本地 pnpm 更新依赖不生效的问题,因为另一个项目也出现类似现象。

from uni-ui.

cssmagic avatar cssmagic commented on June 12, 2024

今日简单测试:

我把 node_modules 目录删掉,换了一个包管理器(原来是 Yarn,现在换成 pnpm),重新安装依赖,重新构建,仍然是相同现象——H5 端可以,微信小程序端不行。

我看了本地安装的 @dcloudio/uni-ui 依赖,版本是正确的 1.5.5

也看了本地的 ./node_modules/@dcloudio/uni-ui/lib/uni-popup-dialog/uni-popup-dialog.vue 文件,代码内容是正确的。

from uni-ui.

cssmagic avatar cssmagic commented on June 12, 2024

你下载插件市场最新的插件然后覆盖掉npm包里面的popup插件试试

抱歉,我对相关操作不熟悉,这个项目也是用 Node 方式开发的,所以暂时没有按这个方式测试。

from uni-ui.

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.