ts文档 1.声明 声明标识 + 变量名 + 声明类型 = 值 var a:number = 56; (C => int a = 5;) enum REN{nan='男人',nv='女人',cen='中性人'} 2.类型 undefined number: 数值类型;(可以是小数) string : ...
分类:
其他好文 时间:
2020-06-23 15:05:05
阅读次数:
46
1.jquery官网: http://jquery.com 2.在页面引入jQuery : <script src="js/jquery-1.12.4.js" type="text/javascript"></script> 3.ready()方法: [使用jQuery弹出提示框] 实例: <scr ...
分类:
Web程序 时间:
2020-06-23 13:36:01
阅读次数:
104
使用JavaScript实现 栈和队列 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1. ...
分类:
编程语言 时间:
2020-06-23 13:19:23
阅读次数:
67
HTML <a href="javascript:void(0)" class="go-top" @click="goTop"></a> index.js methods:{ goTop: function () { $('html,body').animate({ scrollTop: '0px' ...
分类:
其他好文 时间:
2020-06-23 13:18:08
阅读次数:
62
jquery库文件 分为开发版和发布版 在页面中引用jquery <script src="js/jquery-1.12.4.js" type="text/javascript"></script> 使用jquery弹出提示框 <script> $(document).ready(function( ...
分类:
Web程序 时间:
2020-06-23 13:12:29
阅读次数:
99
备份文件: # CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors tha ...
分类:
其他好文 时间:
2020-06-23 11:43:38
阅读次数:
63
当文件夹不存在时,调用setINISetting将无比耗时 存在时 ...
分类:
其他好文 时间:
2020-06-23 10:31:14
阅读次数:
102
手写一个Promise 准备 1.回调函数的分类 同步回调: 理解: 立即执行, 完全执行完了才结束, 不会放入回调队列中 例子: 数组遍历相关的回调函数 / Promise的excutor函数 const arr = [1, 3, 5] arr.forEach(item => { // 遍历回调, ...
分类:
Web程序 时间:
2020-06-23 00:59:06
阅读次数:
58
16 前端项目搭建 1 创建项目 cd 项目目录下 vue init webpack 项目名 运行项目: npm run dev 也可以在pycharm中运行。 如果,多个Vue项目在运行,8080端口被占用,服务器会自动改端口 2 初始化项目 将HelloWorld.vue 删除,清除APP.vu ...
分类:
其他好文 时间:
2020-06-22 23:01:06
阅读次数:
50