当前位置:网站首页>Uniapp | compatibility problems in the development of (to be continued)
Uniapp | compatibility problems in the development of (to be continued)
2022-08-02 04:02:00 【dumb papa】
1, date format issue
In the development process of uniapp, there is such a piece of code, which constructs two dates and compares the size by passing two time strings through the date constructor of JS. There is no problem on the Android platform, but the date comparison occurs on ios.Failed to perform normal verification.
-
is not supported as a separator between dates in ios, you need to use/
.Use replaceAll to replace-
in the date string.
References
Advanced Road - Front End: iOS Compatibility Issues with new Date()
2, input box click event
Disabled state download input component, click event can be monitored normally on android platform, click monitor exception on ios
边栏推荐
- [symfony/finder] The best file manipulation library
- New usage of string variable parsing in PHP8.2
- 一个网络安全小白鼠的学习之路——nmap的基本使用
- Alibaba Cloud MySQL 5.7 installation and some major problems (total)
- vim编辑模式
- [campo/random-user-agent] Randomly fake your User-Agent
- QR code generation API interface, which can be directly connected as an A tag
- Pycharm打包项目为exe文件
- Batch replace file fonts, Simplified -> Traditional
- 一个网络安全小白鼠的学习之路—nmap高级用法之脚本使用
猜你喜欢
随机推荐
hackmyvm-hopper walkthrough
[trendsoft/capital]金额转中文大写库
Offensive and defensive world - novice MISC area 1-12
Shuriken: 1 vulnhub walkthrough
How to log in to Alibaba Cloud server using the admin account
The focus of the Dom implementation input triggers
Kali环境下Frida编写脚本智能提示
PHP deserialization vulnerability
Turn trendsoft/capital amount of Chinese capital library
hackmyvm-bunny walkthrough
(8) requests, os, sys, re, _thread
(2)Thinkphp6模板引擎**标签
Summary of php function vulnerabilities
阿里云MySQL5.7安装以及部分主要问题(总和)
(7) superficial "crawlers" process (concept + practice)
(2) Thinkphp6 template engine ** tag
(1) print()函数、转义字符、二进制与字符编码 、变量、数据类型、input()函数、运算符
(1) the print () function, escape character, binary and character encoding, variables, data type, the input () function, operator
Pycharm packages the project as an exe file
SQL注入(6)