posted @ 2021-01-21 21:16 jjw 阅读(3) 评论(0) 推荐(0) 编辑
摘要:server端 unit ServerMainFormUnit; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.C 阅读全文
摘要:1、字面对象【实例】和new的对象实例没有prototype, 只有__proto__。 function fn () {} let obj1 = { value: 1, } let obj2 = new fn(); console.log(obj1.prototype, obj2,prototyp 阅读全文
posted @ 2020-11-26 20:24 jjw 阅读(15) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2020-11-21 16:37 jjw 阅读(18) 评论(0) 推荐(0) 编辑
摘要:body { font: 12px/1.5 或 font: 12px/36px } 1.5是当前元素字体的1.5位 阅读全文
posted @ 2020-11-21 16:10 jjw 阅读(19) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2020-11-21 15:49 jjw 阅读(68) 评论(0) 推荐(0) 编辑
摘要:async play() { let upload = document.getElementById("file1"); let f = upload.files[0]; var ctx = new AudioContext(); var source = ctx.createBufferSour 阅读全文
posted @ 2020-11-08 21:53 jjw 阅读(24) 评论(0) 推荐(0) 编辑
摘要:methods: { async upfile() { let upload = document.getElementById("file1"); let f = upload.files[0]; let size = 1024 * 100; let start = 0, end = 0; let 阅读全文
posted @ 2020-11-08 16:40 jjw 阅读(50) 评论(0) 推荐(0) 编辑
摘要:fetchData() { (async ()=> { const valueObj = { UserName: 'jjw', Tel: '123456' } let d2 = await fetch('http://127.0.0.1:8080/datasnap/rest/TServerMetho 阅读全文
posted @ 2020-11-07 20:20 jjw 阅读(44) 评论(0) 推荐(0) 编辑
摘要:procedure TWebModule1.WebModuleBeforeDispatch(Sender: TObject; Request: TWebRequest; Response: TWebResponse; var Handled: Boolean); begin if UpperCase 阅读全文
posted @ 2020-11-06 22:57 jjw 阅读(20) 评论(0) 推荐(0) 编辑