Comments (6)
可能是npm包不是最新的,你下载插件市场最新的插件然后覆盖掉npm包里面的popup插件试试,插件市场上的我测试了小程序没问题
from uni-ui.
我是用同一套代码和依赖编译出的 H5 和小程序。我也奇怪为什么效果不一样。
我再试试。谢谢回复。
from uni-ui.
我是用同一套代码和依赖编译出的 H5 和小程序。我也奇怪为什么效果不一样。
我再试试。谢谢回复。
更新到最新版还会复现该问题吗
from uni-ui.
抱歉,最近还没来得及详细确认。
初步怀疑是我本地 pnpm 更新依赖不生效的问题,因为另一个项目也出现类似现象。
from uni-ui.
今日简单测试:
我把 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.
你下载插件市场最新的插件然后覆盖掉npm包里面的popup插件试试
抱歉,我对相关操作不熟悉,这个项目也是用 Node 方式开发的,所以暂时没有按这个方式测试。
from uni-ui.
Related Issues (20)
- 通过npm安装uni-ui的方式本地引入uni-ui组件报错组件未定义
- uni-datetime-picker没有确定事件 HOT 1
- uni-list-item的uni-list-item--hover背景色无效 HOT 1
- vue3 使用vite 创建的项目,正常开发,当使用到uni-popup 组件时间在小程序报一下错误 HOT 1
- popup 在Vue3中是否无法在组合式api中使用 HOT 5
- npm 代码更新问题
- uniSearchBar组件在微信小程序中报错 "hideKeyboard:fail:input not exists"
- Failed to resolve entry for package "@dcloudio/uni-ui". The package may have incorrect main/module/exports specified in its package.json.
- uni-notice-bar 组件会偶然报错Cannot read properties of null (reading 'width')
- 现在最新版本 uni-ui 适配 skyline 渲染了么
- uni-data-select有计划支持搜索的功能吗
- 【bug】uni-swipe-action组件在钉钉小程序中的跨页面新增内容会报错
- uni-file-picker组件在抖音小程序中报错
- uni-forms在抖音小程序设置labelwidth失败
- uni-easyinput type 为number 时 先输入数子在输入小数点时,输入位置变成最前面了 HOT 1
- uni-popup/popip.vue文件中有个bug
- vite5+vue3 引入uni-ui 报错 HOT 1
- 组件内部字体大小都是px写死,怎么做到自适应不同分辨率?
- uni-nav-bar h5 内嵌到app 里面 苹果手机 高度失效
- uni-file-picker组件删除回显数据时会改变回显数据的结构 HOT 1
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 uni-ui.