q***@yw11.com
q***@yw11.com
  • 发布:2024-08-27 17:36
  • 更新:2024-08-29 12:08
  • 阅读:283

【报Bug】内置组件picker点击报错Unhandled error during execution of native event handler

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: 10

HBuilderX类型: 正式

HBuilderX版本号: 4.24

手机系统: Android

手机系统版本号: Android 11

手机厂商: 华为

手机机型: huawei

页面类型: vue

vue版本: vue3

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

Unhandled error during execution of native event handler
at <MainonConfirm=fn<pickerVal1>ref_key="picker"ref=Ref<{"mode":"dateTime","themeColor":"#be9f6a","startYear":"1930","endYear":"2025","defaultVal":[94,2,0,1,3],"step":1,"result":[],"data":{"years":["1930","1931","1932","1933","1934","1935","1936","1937","1938","1939","1940","1941","1942","1943","1944","1945","1946","1947","1948","1949","1950","1951","1952","1953","1954","1955","1956","1957","1958","1959","1960","1961","1962","1963","1964","1965","1966","1967","1968","1969","1970","1971","1972","1973","1974","1975","1976","1977","1978","1979","1980","1981","1982","1983","1984","1985","1986","1987","1988","1989","1990","1991","1992","1993","1994","1995","1996","1997","1998","1999","2000","2001","2002","2003","2004","2005","2006","2007","2008","2009","2010","2011","2012","2013","2014","2015","2016","2017","2018","2019","2020","2021","2022","2023","2024","2025"],"months":["01","02","03","04","05","06","07","08","09","10","11","12"],"days":["01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31"],"hours":["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23"],"minutes":["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59"],"seconds":["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59"]},"checkArr":["2024","03","01","01","03"],"checkValue":[],"pickVal":[94,2,0,1,3],"showPicker":false,"resultStr":"2024-03-01 01:03:undefined","date_type":1,"is_leap":0,"f":false}> ...>
at <ChooseRelationPopkey=2ref_key="profession"ref=Ref<{}> ...>
at <IndexpageId=1pagePath="pages/index/index"__pageQuery={} ...>

预期结果:

不要一堆警告

实际结果:

一堆警告

bug描述:

Unhandled error during execution of native event handler
at <MainonConfirm=fn<pickerVal1>ref_key="picker"ref=Ref<{"mode":"dateTime","themeColor":"#be9f6a","startYear":"1930","endYear":"2025","defaultVal":[94,2,0,1,3],"step":1,"result":[],"data":{"years":["1930","1931","1932","1933","1934","1935","1936","1937","1938","1939","1940","1941","1942","1943","1944","1945","1946","1947","1948","1949","1950","1951","1952","1953","1954","1955","1956","1957","1958","1959","1960","1961","1962","1963","1964","1965","1966","1967","1968","1969","1970","1971","1972","1973","1974","1975","1976","1977","1978","1979","1980","1981","1982","1983","1984","1985","1986","1987","1988","1989","1990","1991","1992","1993","1994","1995","1996","1997","1998","1999","2000","2001","2002","2003","2004","2005","2006","2007","2008","2009","2010","2011","2012","2013","2014","2015","2016","2017","2018","2019","2020","2021","2022","2023","2024","2025"],"months":["01","02","03","04","05","06","07","08","09","10","11","12"],"days":["01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31"],"hours":["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23"],"minutes":["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59"],"seconds":["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59"]},"checkArr":["2024","03","01","01","03"],"checkValue":[],"pickVal":[94,2,0,1,3],"showPicker":false,"resultStr":"2024-03-01 01:03:undefined","date_type":1,"is_leap":0,"f":false}> ...>
at <ChooseRelationPopkey=2ref_key="profession"ref=Ref<{}> ...>
at <IndexpageId=1pagePath="pages/index/index"__pageQuery={} ...>

2024-08-27 17:36 负责人:无 分享
已邀请:
唐家三少

唐家三少 - 我要写代码

其它手机有问题吗?

hello uni-app项目也有这一堆警告信息吗?

要回复问题请先登录注册