Loading

摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <script src="https://cdn.bootcdn.net/ajax/libs/xlsx/0.16.5/xlsx.mini.min.js"></sc 阅读全文
posted @ 2020-08-10 14:56 fsdffsdf 阅读(819) 评论(0) 推荐(0) 编辑
摘要: 方式一: package main import "net/http" func main() { http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { w.Write([]byte("index page")) }) 阅读全文
posted @ 2020-08-10 14:54 fsdffsdf 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 什么是TypeScript? TypeScript是微软公司开发的一款开源的JavaScript超集语言。 JavaScript超集:当前任何JavaScript都是合法的TypeScript代码。 TypeScript主要为JavaScript提供了类型系统和ES6语法支持。 与Flow相比,Fl 阅读全文
posted @ 2020-07-28 21:01 fsdffsdf 阅读(446) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script type="text/javascript"> let round = [] function random(max 阅读全文
posted @ 2020-07-25 05:11 fsdffsdf 阅读(169) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv 阅读全文
posted @ 2020-07-25 05:03 fsdffsdf 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 源码如下: <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta 阅读全文
posted @ 2020-07-09 23:59 fsdffsdf 阅读(625) 评论(1) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> li { position: absolute; left: 0; width: 100%; list-style 阅读全文
posted @ 2020-07-08 15:35 fsdffsdf 阅读(531) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv 阅读全文
posted @ 2020-07-06 12:57 fsdffsdf 阅读(202) 评论(0) 推荐(0) 编辑
摘要: const corp = { list: [], on(eventName, fn) { if (!this.list[eventName]) { this.list[eventName] = [] } this.list[eventName].push(fn); }, emit() { const 阅读全文
posted @ 2020-07-03 16:57 fsdffsdf 阅读(173) 评论(0) 推荐(0) 编辑
摘要: function queryType(val) { const type = Object.prototype.toString.call(val) return type.substring(8, type.length -1).toLowerCase() } demo: type(0) // 数 阅读全文
posted @ 2020-06-15 11:43 fsdffsdf 阅读(347) 评论(0) 推荐(0) 编辑