摘要: //方法1: 方法外面获取方法里面的数据 function getData(callback){ setTimeout(function(){ var name = '张三' callback(name) }) } getData(function(callback){ console.log(ca 阅读全文
posted @ 2022-04-29 15:35 完全hi 阅读(431) 评论(0) 推荐(0)
摘要: return input 中的val <!DOCTYPE html><html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>P 阅读全文
posted @ 2022-04-29 15:08 完全hi 阅读(36) 评论(0) 推荐(0)