摘要: 源码如下: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> *{ margin: 0; padding: 0; } body{ width: 100vw; heig 阅读全文
posted @ 2020-01-17 13:54 y-y-y-y 阅读(596) 评论(0) 推荐(0) 编辑
摘要: 基本api就直接放源码了 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <me 阅读全文
posted @ 2020-01-15 09:45 y-y-y-y 阅读(269) 评论(0) 推荐(0) 编辑
摘要: var express = require('express'); const proxy = require('http-proxy-middleware'); const app = express(); var options = { target: 'http://192.9.104.247 阅读全文
posted @ 2020-01-07 19:27 y-y-y-y 阅读(2471) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv 阅读全文
posted @ 2020-01-03 11:27 y-y-y-y 阅读(2917) 评论(0) 推荐(0) 编辑
摘要: 实现代码: class Vue { constructor(options) { //缓存参数 this.$options = options; //需要监听的数据 this.$data = options.data; //数据监听 this.observe(this.$data); } obser 阅读全文
posted @ 2019-11-15 10:40 y-y-y-y 阅读(527) 评论(0) 推荐(0) 编辑
摘要: webpack.config.js tsconifig.json 编译前目录: 编译后目录: systemjs引入: 阅读全文
posted @ 2019-08-04 13:53 y-y-y-y 阅读(587) 评论(0) 推荐(0) 编辑
摘要: 全局安装assemblyscript export function add(a: i32, b: i32): i32 { return a + b; } 编译结果: export function add(a: i32, b: i32): i32 { return a + b; } 编译结果: e 阅读全文
posted @ 2019-07-19 11:34 y-y-y-y 阅读(942) 评论(0) 推荐(0) 编辑
摘要: mysqlclient 1.3.3 or newer is required; you have 0.7.11: 解决方法: 将报错文件中的如下代码注释: if version < (1, 3, 3): raise ImproperlyConfigured("mysqlclient 1.3.3 or 阅读全文
posted @ 2019-06-30 17:12 y-y-y-y 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 创建虚拟环境: python -m venv django启动虚拟环境: .\venv\Scripts\activate下载django: pip install django查看django命令: django-admin创建django项目: django-admin startproject 阅读全文
posted @ 2019-06-30 17:06 y-y-y-y 阅读(224) 评论(0) 推荐(0) 编辑
摘要: Document hash 历史 --> hash 历史 阅读全文
posted @ 2019-06-28 12:32 y-y-y-y 阅读(560) 评论(0) 推荐(0) 编辑