Passwd/miniprogram/pages/show/show.js
Saturneric fb74e7395f Add
2020-09-01 01:19:39 +08:00

19 lines
316 B
JavaScript

var app = getApp()
Page({
data: {
user : ""
},
onLoad: function(option){
this.setData({
user: option.textdata,
})
},
inputSaver: function(e){
let pages = getCurrentPages();
let prevPage = pages[pages.length - 2];
prevPage.setData({
user : e.detail.value
})
}
})