当前位置:网站首页>When the uniapp page jumps with complex data parameters.
When the uniapp page jumps with complex data parameters.
2022-06-12 08:39:00 【Pumpkin_ xiaoXuan】
1. The parent page should first convert the data into JSON.stringify Format , Re pass parameters encodeURIComponent() Method code
// Comment on the list
goEvaluate() {
let JSONProductList = JSON.stringify(this.orderInfo.productList)
uni.navigateTo({
url: `/pages/product/evaluate?orderId=${this.orderId}&orderList=${encodeURIComponent(JSONProductList)}`
})
},2. For sub pages JSON.parse Transformation format , Reuse decodeURIComponent() Method code .
onLoad(options) {
var orderData = JSON.parse(decodeURIComponent(options.orderList))
},边栏推荐
- MYSQL中的锁的机制
- x64dbg 调试 EXCEPTION_ACCESS_VIOLATION C0000005
- This article is required for the popularization of super complete MES system knowledge
- [dynamic memory management] malloc & calloc and realloc and written test questions and flexible array
- What should be paid attention to when establishing MES system? What benefits can it bring to the enterprise?
- What kind of sparks will be generated when the remote sensing satellite meets the Beidou navigation satellite?
- MYSQL中的调用存储过程,变量的定义,
- Vscode download slow solution
- JVM learning notes: three local method interfaces and execution engines
- Hands on deep learning -- implementation of multi-layer perceptron from scratch and its concise implementation
猜你喜欢

ctfshow web3

Hands on deep learning -- image classification dataset fashion MNIST

Principle and configuration of MPLS

What is the MES system? What is the operation process of MES system?

(p15-p16) optimization of the right angle bracket of the template and the default template parameters of the function template

Production scheduling status of manufacturing enterprises and solutions of APS system

What is the quality traceability function of MES system pursuing?

Hands on deep learning -- Introduction to linear regression model

Scope of bean

Hands on deep learning 18 -- model selection + over fitting and under fitting and code implementation
随机推荐
Is it really expensive for enterprises to launch MES software?
【指针进阶三】实现C语言快排函数qsort&回调函数
调整svg宽高
js中的正则表达式
Installation series of ROS system (II): ROS rosdep init/update error reporting solution
Vscade debug TS
Hands on deep learning -- weight decay and code implementation
2022.6.9-----leetcode. four hundred and ninety-seven
The Three Kingdoms kill the surrounding areas -------- explanation of the pig Kingdom kill problem
【数据存储】浮点型数据在内存中的存储
How to understand the production scheduling of APS system?
MYSQL中的查询
【指針進階三】實現C語言快排函數qsort&回調函數
Triggers in MySQL
What kind of sparks will be generated when the remote sensing satellite meets the Beidou navigation satellite?
Hands on deep learning -- Introduction to linear regression model
This article is required for the popularization of super complete MES system knowledge
【进阶指针二】数组传参&指针传参&函数指针&函数指针数组&回调函数
在Tensorflow中把Tensor转换为ndarray时,循环中不断调用run或者eval函数,代码运行越来越慢!
Website colab and kaggle