- 博客(4)
- 收藏
- 关注
原创 react创建路由
相关三个jsx index.jsx , App.jsx , router.js => router_list.js router_list.js 中 import React from 'React' import Index from '地址' cont routerList = [ { name:'首页', path:'/', axact:true, //是否精确匹配 render:(){ return &
2021-09-07 15:42:27 107
原创 typescript 基本配置(一)
枚举 -ts enum Gender{ male = 0 , female = 1, } let i : {name:string,sex:Gender}; i = { name:'李四', sex:Gender.female, } console.log(i.sex === Gender.male); =>>> false [外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-BeYJ8hxP-1627466640702)(C:
2021-07-29 15:02:04 120
原创 使用微信小程序开发者工具来开发小程序
使用微信小程序开发者工具来开发小程序 创建小程序 首先打开微信开发者工具=> 项目 => 新建项目 =>输入AppId后 => 点击创建 添加组件 再app.json中的pages中进行设置, "pages":[ "pages/first_page/first_page", //这是你自己设置的页面,小程序会自动给你添加wxml等文件 "pages/index/index", "pages/logs/logs" ], 在微信
2021-07-28 18:03:20 591
原创 vue3.0
vue3.0 1. ref 和 reactive 的区别 : ref函数注意点:ref函数只能监听简单函数类型得变化,不能监听复杂类型得变化(对象/数组) 如果想要监听复杂类型数据得时候就需要用到 reactive来进行监听 vue3.0中watch 基本用法 (ref) <body> <div id="app"> <input v-model="firstName"> <input v-model="lastN
2021-07-28 18:02:47 48
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人