Leon 1 рік тому
батько
коміт
883243e0cd

+ 1 - 1
config/env.ts

@@ -1,3 +1,3 @@
 
 export const APP_VERSION = '1.0.2'
-export const WX_VERSION = '1.4.7'
+export const WX_VERSION = '1.4.8'

+ 2 - 2
src/features/trackSomething/components/MetricHistory.tsx

@@ -175,7 +175,7 @@ export default function Component(props: { records: any[] }) {
                     {
                         item.records.map((record, j) => {
                             return <View style={{ position: 'relative', zIndex: j == selIndex[1] ? 3 : 2 }} key={j}><RecordItem delete={() => deleteRecord(record)} onClick={(e) => {
-                                if (process.env.TARO_ENV == 'weapp') {
+                                if (process.env.TARO_ENV == 'weapp' && e && e.stopPropagation) {
                                     e.stopPropagation()
                                 }
                                 tapItem(index, j)
@@ -210,7 +210,7 @@ export default function Component(props: { records: any[] }) {
                             </RecordItem>
                                 {
                                     index == selIndex[0] && j == selIndex[1] &&
-                                    <View style={{ display: 'flex', flexDirection: 'column', zIndex: 10, position: 'absolute', alignItems: 'center', top: rpxToPx(125), left: 30 }}>
+                                    <View style={{ display: 'flex', flexDirection: 'column', zIndex: 100, position: 'absolute', alignItems: 'center', top: rpxToPx(125), left: 30 }}>
                                         <Image src={require('@assets/images/pointer.png')} style={{ width: 32, height: 12, marginBottom: -2 }} />
                                         <View style={{
                                             backgroundColor: '#505050',