摘要:
1 <body> 2 <button onclick="save()">提交按钮</button> 3 <script> 4 var lock = false; 5 function save() { 6 if (lock) { 7 return false 8 } 9 lock = true; 1 阅读全文
摘要:
文档:https://uniapp.dcloud.io/collocation/frame/lifecycle 1 export default { 2 data() { 3 return {}; 4 }, 5 onBackPress(options) { 6 console.log('from:' 阅读全文