当前位置:网站首页>小程序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('用户点击取消')
}
}
})
在开发者工具还是横着没有换行,但是再手机上是换了的
边栏推荐
- jwt(json web token)
- The reason why the qtimer timer does not work
- ZUCC_编译语言原理与编译_实验05 正则表达式、有限自动机、词法分析
- Jenkins自动化部署,连接不到所依赖的服务【已解决】
- PHP代码加密+扩展解密实战
- 日本大阪大学万伟伟研究员介绍基于WRS系统机器人的快速集成方法和应用
- 数据库迁移从PostgreSQL迁移到 MYSQL
- There was an error checking the latest version of pip
- Lombok use
- RuntimeError: Missing dependencies:XXX
猜你喜欢

一文讲透,商业智能BI未来发展趋势如何

OpenCV to realize the basic transformation of image

关于ETL看这篇文章就够了,三分钟让你明白什么是ETL

ZUCC_ Principles of compiling language and compilation_ Experiment 08 parsing LR parsing

Detailed explanation of Base64 coding and its variants (to solve the problem that the plus sign changes into a space in the URL)

Vscode install the remote -wsl plug-in to connect to the local WSL

MySQL 因字符集问题插入中文数据时提示代码 :1366

ZUCC_编译语言原理与编译_实验05 正则表达式、有限自动机、词法分析

【关于运维和网工的差别,一文说透】

New technology practice, encapsulating the permission application library step by step with the activity results API
随机推荐
Common date formatter and QT method for obtaining current time
什么是SRE?一文详解SRE运维体系
Win11 blank when using VIM to view content in cmder
PHP代码加密的几种方案
【关于运维和网工的差别,一文说透】
[force deduction 10 days SQL introduction] Day3
ZUCC_编译语言原理与编译_实验06 07 语法分析 LL 分析
Redis cluster data skew
ZUCC_ Principles of compiling language and compilation_ Experiment 05 regular expression, finite automata, lexical analysis
2021-06-25: a batch of strings consisting only of lowercase letters (a~z) are put
图片工具
ZUCC_ Principles of compiling language and compilation_ Experiment 01 language analysis and introduction
liunx 更改 vsftpd 的端口号
JS merge multiple objects and remove duplicates
日本大阪大学万伟伟研究员介绍基于WRS系统机器人的快速集成方法和应用
uniapp 热更新后台管理
Two methods of QT exporting PDF files
How to improve the customer retention rate in the operation of independent stations? Customer segmentation is very important!
leetcode 1268. Search suggestions system
[micro services ~nacos] Nacos service providers and service consumers