From 16213c0f85aa3ac8317797bf4a05fd12940e16d3 Mon Sep 17 00:00:00 2001
From: zhangwei <1504152376@qq.com>
Date: 星期三, 05 三月 2025 17:29:42 +0800
Subject: [PATCH] -
---
src/uni_modules/uview-plus/components/u-sticky/u-sticky.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/uni_modules/uview-plus/components/u-sticky/u-sticky.vue b/src/uni_modules/uview-plus/components/u-sticky/u-sticky.vue
index 7c3eb5e..4cc483d 100644
--- a/src/uni_modules/uview-plus/components/u-sticky/u-sticky.vue
+++ b/src/uni_modules/uview-plus/components/u-sticky/u-sticky.vue
@@ -17,7 +17,7 @@
import { props } from './props';
import { mpMixin } from '../../libs/mixin/mpMixin';
import { mixin } from '../../libs/mixin/mixin';
- import { addUnit, addStyle, deepMerge, getPx, guid, sys, os } from '../../libs/function/index';
+ import { addUnit, addStyle, deepMerge, getPx, guid, getDeviceInfo, os } from '../../libs/function/index';
import zIndex from '../../libs/config/zIndex';
/**
* sticky 鍚搁《
@@ -150,7 +150,7 @@
// #endif
// 濡傛灉瀹夊崜鐗堟湰楂樹簬8.0锛屼緷鐒惰涓烘槸鏀寔css sticky鐨�(鍥犱负瀹夊崜7鍦ㄦ煇浜涙満鍨嬶紝鍙兘涓嶆敮鎸乻ticky)
- if (os() === 'android' && Number(sys().system) > 8) {
+ if (os() === 'android' && Number(getDeviceInfo().system) > 8) {
this.cssSticky = true
}
--
Gitblit v1.9.1