当前位置:网站首页>小程序wx.show
小程序wx.show
2022-06-24 07:06:00 【隐密修罗】
直接用 \r\n 进行换行
wx.showModal({
title: 'showModal换行',
content: '姓名:JIM\r\n 到场人数:22 \r\n用餐热书:33',
success(res) {
if (res.confirm) {
console.log('用户点击确定')
} else if (res.cancel) {
console.log('用户点击取消')
}
}
})
在开发者工具还是横着没有换行,但是再手机上是换了的
边栏推荐
- One development skill a day: how to establish P2P communication based on webrtc?
- Easynvr and easyrtc platforms use go language to manage projects. Summary of the use of govendor and gomod
- Battle history between redis and me under billion level traffic
- liunx服务器 telnet 带用户名 端口登陆方法
- 数据库迁移从PostgreSQL迁移到 MYSQL
- rsync做文件备份
- 小黑ai4code代码baseline啃食1
- JS to get the last element of the array
- 图片工具
- OpenCV to realize the basic transformation of image
猜你喜欢

Distributed | how to make "secret calls" with dble

MATLAB Camera Calibrator相机标定

Redis cluster data skew

K8S部署高可用postgresql集群 —— 筑梦之路

關於ETL看這篇文章就够了,三分鐘讓你明白什麼是ETL

ZUCC_编译语言原理与编译_实验06 07 语法分析 LL 分析

分布式 | 如何与 DBLE 进行“秘密通话”

ZUCC_ Principles of compiling language and compilation_ Experiment 03 getting started with compiler

ZUCC_ Principles of compiling language and compilation_ Experiment 05 regular expression, finite automata, lexical analysis

什么是SRE?一文详解SRE运维体系
随机推荐
Video Fusion communication has become an inevitable trend of emergency command communication. How to realize it based on easyrtc?
dataX使用指南
Fundamentals of 3D mathematics [17] inverse square theorem
Detailed explanation of Base64 coding and its variants (to solve the problem that the plus sign changes into a space in the URL)
Shell basic operator -- arithmetic operator
Get screen width and height tool class
Introduction to data platform
ZUCC_编译语言原理与编译_大作业
leetcode 1268. Search Suggestions System(搜索推荐系统)
MATLAB Camera Calibrator相机标定
Markdown to realize text link jump
Qt 中发送自定义事件
Opencv get (propid) common values
定时备份数据库脚本
liunx 更改 vsftpd 的端口号
ZUCC_编译语言原理与编译_实验05 正则表达式、有限自动机、词法分析
Picture tools
xtrabackup做数据备份
Smart power plant: how to make use of easycvr to build a safe, stable, green and environment-friendly intelligent inspection platform
利用ngrok做内网穿透