当前位置:网站首页>每天一个小知识点
每天一个小知识点
2022-08-10 05:31:00 【梵鸽子】
1、navigateToMiniProgram:fail :target appId is the same as the caller appId"
微信小程序跳转其他小程序不可以自己跳自己
wx.navigateToMiniProgram({
appId:'wx571*********',
path: 'pages/lightsit/lightsit',
extraData: {
},
envVersion: 'develop',
success(res) {
// 打开成功
console.log('打开成功')
}
})
2、
<input
class="search_input"
value="{ {sn}}"
type="text"
placeholder="输入设备号"
placeholder-class="search_input_place"
bindinput="formChange"
confirm-type="search"
bindconfirm="toSearch" ></input>
1)confirm-type="search"修改键盘右下角按钮只能选择官方设定的几个不过很够用的
2)以及点击右下角按钮触发的事件bindconfirm
3)设置键盘右下角按钮的文字,仅在type='text'时生效
4)confirm-type的最终表现与手机输入法本身的实现有关,部分安卓系统输入法和第三方输入法可能不支持或不完全支持。默认官方就很好。别整些花里胡哨。可恶
边栏推荐
猜你喜欢
随机推荐
Conda creates a virtual environment method and pqi uses a domestic mirror source to install a third-party library method tutorial
OSPF实验
OAuth2 usage scenarios, common misunderstandings, use cases
2021-07-09
pytorch框架学习(4)torchvision模块&训练一个简单的自己的CNN (一)
动手写prometheus的exporter-02-Counter(计数器)
Pony语言学习(六):Struct, Type Alias, Type Expressions
基于Qiskit——《量子计算编程实战》读书笔记(三)
strongest brain (1)
OAuth2的使用场景、常见误区、使用案例
Error when installing oracle rac 11g and executing root.sh
深度学习中的学习率调整策略(1)
用Pytorch从0到1实现逻辑回归
关于cfar检测的学习及仿真
kaggle小白必看:小白常见的2个错误解决方案
Matlab simulation of multi-factor house price prediction based on BP neural network
Thread.sleep, Thread.yield role explanation
R中设置图形参数--函数par()详解
Introduction to curl command
常用工具系列 - 常用正则表达式









