New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mini-antui

Package Overview
Dependencies
Maintainers
4
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mini-antui - npm Package Compare versions

Comparing version 0.3.14-alpha.2 to 0.3.14-alpha.3

4

es/vtabs/index.js

@@ -57,3 +57,3 @@ Component({

_this.anchorMap[anchor] = cacheHeight;
cacheHeight += Math.floor(ret[0].height);
cacheHeight += ret[0].height;
_this.scrollWrapHeight = cacheHeight;

@@ -125,3 +125,3 @@ });

}
if (scrollTop >= this.anchorMap[keys[i]] && scrollTop < this.anchorMap[keys[i + 1]]) {
if (scrollTop >= Math.floor(this.anchorMap[keys[i]]) && scrollTop < Math.floor(this.anchorMap[keys[i + 1]])) {
// 如果没个vtab-content高度小于scroll-view高度,到达底部后就不需要根据scrollTop再去判断左侧的选择项

@@ -128,0 +128,0 @@ if (scrollTop + this.wrapHeight < this.scrollWrapHeight) {

{
"name": "mini-antui",
"version": "0.3.14-alpha.2",
"version": "0.3.14-alpha.3",
"description": "小程序版AntUI",

@@ -5,0 +5,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc