上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 38 下一页
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script type="text/javascript"> // 函数作用域的例子理解 console.log(aa(1)) / 阅读全文
posted @ 2020-06-08 09:42 蓝色帅-橙子哥 阅读(204) 评论(0) 推荐(0) 编辑
摘要: /* * @Description: ref 的场景和 传送门 Portal 作用以及使用 * @Version: 2.0 * @Autor: lhl * @Date: 2020-06-01 10:20:33 * @LastEditors: lhl * @LastEditTime: 2020-06- 阅读全文
posted @ 2020-06-02 14:09 蓝色帅-橙子哥 阅读(979) 评论(0) 推荐(0) 编辑
摘要: /* * @Description: 受控和不受控制的表单字段都有其优点不必纠结用哪种 * @Version: 2.0 * @Autor: lhl * @Date: 2020-06-01 10:20:33 * @LastEditors: lhl * @LastEditTime: 2020-06-02 阅读全文
posted @ 2020-06-02 10:27 蓝色帅-橙子哥 阅读(362) 评论(0) 推荐(0) 编辑
摘要: /* * @Description: react基础语法集锦,每天了解一点点 * @Version: 2.0 * @Autor: lhl * @Date: 2020-06-01 10:20:33 * @LastEditors: lhl * @LastEditTime: 2020-06-01 11:4 阅读全文
posted @ 2020-06-01 11:51 蓝色帅-橙子哥 阅读(954) 评论(0) 推荐(0) 编辑
摘要: 1.文件-->首选项-->用户代码片段-->点击新建代码片段--新建vue.json { "Print to console": { "prefix": "vue", "body": [ "<!-- $1 -->", "<template>", "<div class='$2'>$5</div>", 阅读全文
posted @ 2020-05-31 10:39 蓝色帅-橙子哥 阅读(1390) 评论(0) 推荐(1) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script type="text/javascript"> const target = {}; const obj1 = { 阅读全文
posted @ 2020-05-29 11:21 蓝色帅-橙子哥 阅读(500) 评论(0) 推荐(0) 编辑
摘要: /* * @Description: umi3.0基础配置文件 文件多时候移到config文件下面单独配置模块 如 路由文件 .umirc.ts配置文件 * @Version: 2.0 * @Autor: lhl * @Date: 2020-03-20 14:15:48 * @LastEditors 阅读全文
posted @ 2020-05-27 13:43 蓝色帅-橙子哥 阅读(13147) 评论(2) 推荐(2) 编辑
摘要: import { Button, Result } from 'antd'; import React from 'react'; import { history } from 'umi'; // FC = Functional Component 使用这个类型有个好处就是,提醒你必须返回一个Re 阅读全文
posted @ 2020-05-26 18:02 蓝色帅-橙子哥 阅读(1597) 评论(0) 推荐(0) 编辑
摘要: 1.首先建立 custom-tab-bar 文件夹 包含 index.js index.json index.wxml // index.js Component({ data: { selected: 0, color: "#7A7E83", selectedColor: "#3cc51f", l 阅读全文
posted @ 2020-05-22 09:52 蓝色帅-橙子哥 阅读(617) 评论(0) 推荐(0) 编辑
摘要: 最近在看小程序文档整理下简单的语法场景 <!--index.wxml--> <!-- 模板导入 --> <!-- 于此对应的还有 include 可以将目标文件除了 <template/> <wxs/> 外的整个代码引入,相当于是拷贝到 include 位置 --> <import src="../ 阅读全文
posted @ 2020-05-21 10:29 蓝色帅-橙子哥 阅读(543) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 38 下一页