- 博客(64)
- 收藏
- 关注
原创 aws 部署测试环境服务+ip域名绑定
2.mysql aws部署,redis,java环境,参见之前文章腾讯云部署,初始化数据库更新建库建表准备,上传jar启动服务。1.新建实例之后,作为测试环境开放mysql入出站规则,route53域名,红框中放入阿里云域名。aws 部署springboot +vue + ip+域名绑定域名。
2024-10-31 09:45:41
367
1
原创 前端工程化 搭建私有组件库 组件从开发到发布私有npm仓库的全过程
前言基于Vue3.0 + TS的组件从开发组件库到发布私有npm仓库的全过程环境这里列出本文所使用的环境版本vue 3.0npm 6.14.8npm -v6.14.8node -vv14.15.1步骤选择自定义Manually select features,回车进入下一步选中Choose Vue version、Babel 、TypeScript、 CSS Pre-processors 这4项,回车进入下一步。
2023-05-10 14:33:01
4871
1
原创 vue3.0 自定义复选框 multiselect 组件 支持搜索 table rowselect 选择 :row-selection=“rowSelection“ 翻页多选 翻页回显
select 自定义
2022-12-12 17:00:07
1239
原创 vue3.0 构建后管 test development production 环境 以及路由跳转正常点击刷新出现cannot get
vue3.0 多环境构建
2022-09-29 09:54:50
636
原创 react 回显字段 以及效验 DatePicker.RangePicker
问题:1地区管理 第一个框不需校验 仅仅校验市级 坑点:第一个 message: ’ ’ 里面必须为空‘ ’ 不可以‘’<Form.Itemlabel=“会计管理地区”name=‘area_id’rules={[{ required: true, message: ’ ’ }]}><Form.Item noStyle name=‘area_id’ rules={[{ required: true, message: ‘请选择所在区域’ }]}>2.<F
2022-04-26 18:02:38
3923
原创 管理员权限删除文件
到开始菜单中找到—windows系统文件夹—命令提示符—右击以管理员运行使用:del /f /s /q “文件夹位置”例:del /f /s /q “”
2022-03-25 14:31:42
1148
原创 小程序 导航头自定义
<view class="navigation-bar" style="height:{{navHeight}}px;background:{{backgroundColor}}"> <view class="navigation-container" style="height:{{capsule.height + 2*gapHeight}}px"> <view class="navigation-left"> <view class=
2022-03-08 10:40:21
168
原创 小程序 吸顶tab 滚动监听
思路position sticky配合滚动监听锚点跳转自定义tab<bg-navigation-bar showBack="{{true}}" bgurl="creditupbg.png" bind:closepage="goback" title="积分中心" /><view class="bg"> <view class='mycredit
2022-03-08 10:36:38
282
原创 小程序 canvas 下载海报
分享组件shareQrCode: "1645494065171.jpeg"totalSignDays: 9}<yt-poster showpostflag="{{posterShow}}" poster='{{posterInfo}}'></yt-poster>&l
2022-03-08 10:17:52
287
原创 小程序 tab 下划线动画
<ytab bind:handleClick="tabClick" wx:if="{{tabsReal.length>0}}" placeholder sliderWidth="{{40}}" tabDefaultTextColor="#333333" tabActiveTex...
2022-03-08 10:10:30
477
原创 小程序 打卡日历
var signInfo={1645545600: 1 1645632000: 1 1645718400: 1 1645804800: 1 1645891200: -1 1645977600: 1 1646064000: 1 1646150400: 1 1646236800: 1 1646323200: 1 1646409600: -1 1646496000: -1 1646582400: 1 1646668800: 1 1646755200: 0 1646841600: 0 1646928000: 0 1
2022-03-08 10:03:29
519
原创 小程序 canvas 分享组件
<view catchtap="close" class="c-dialog-mask" wx:if="{{showflag&& mask}}" ></view><block wx:if="{{showflag}}"> <view class="final-img-content" catchtap="close" wx:if="{{showflag}}" catchtouchmove="touchMove"> &
2022-02-22 17:12:51
591
原创 单链表 基本操作 写的比较清晰地
https://blog.youkuaiyun.com/qq_40933663/article/details/93497914
2022-01-29 13:44:31
167
原创 递归取出课程 展示
<view class='container' wx:for="{{teacherListInner}}" data-item="{{item}}" wx:key="index" bindtap='goDetail'><view class='left-item'> <image class='img-left' src="{{item.teaHeaderPic}}"/> <view class='name'> <view clas.
2022-01-19 14:47:00
381
原创 树结构 递归删除不符合要求的数据
//根据过滤数组中的某些对象 let test1 = [ { key1:"vaue1", show:true, children:[ { childrenKey1:"childrenValue1", show:false
2022-01-19 14:32:57
1057
原创 iview tooltip: true, 处理文字,溢出用点代替
{title: ‘老师标签’,key: ‘tags’,align: ‘center’,minWidth: 100,ellipsis: true,tooltip: true,render: (h, params) => {// 处理文字,溢出用点代替let txt;if (params.row.tags) {txt = params.row.tags.join(’,’);}let tableTxt = null;if (txt) {if (txt.length > 5
2022-01-14 12:43:54
2266
原创 将A树的某些key转换成 其他key值
现有:[{“id”: 1005300265,“name”: “申论”,“parentId”: “100520929”,“children”: [{“id”: 1005300266,“name”: “大作文”,“parentId”: “1005300265”,“children”: null}]}, {“id”: 1005300264,“name”: “面试”,“parentId”: “100520929”,“children”: [{“id”: 1005300270,“na
2022-01-13 19:00:13
381
原创 匹配树结构 并删除树节点(将B树的id存起来,然后根据存起来的id,匹配到A中节点id保留A该节点)
var arrayB = [{ "id": 100520929, "name": "公务员", "parentId": null, "children": [{ "id": 1005300265, "name": "申论", "parentId": "100520929", "children": [{ "id": 1005300266, "name": "大作文", "parentId": "1005300265",
2022-01-13 18:56:12
252
原创 git 命令 与source tree对应操作
必知必会和常用命令集合1、git clone 【远程仓库地址】2、git init3、git remote set-url origin 【远程仓库地址】4、工作区、暂存区、版本区、远程仓库5、git status6、git diff7、git diff 【文件绝对路径】8、git branch9、git branch 【分支名】10、git bran -a11、git branc -d 【分支名】12、git branch -D 【分支名】13、git push origin
2021-12-31 15:49:11
783
1
原创 git cherry pick 使用记录
41 git checkout siyang-branch43 git status44 git log尾 56ad582850738f5a7a44bcbdc0a1bd头 cb08b6ee220decacb75e669640b7a38c92b53 git status54 git checkout master56 git pull origin master57 git cherry-pick cb08b6ee220decacb75e669640b7a38c92b…56ad5
2021-12-22 10:20:50
331
原创 自定义组件 引用类型造成的问题
<template> <div class="form-container"> <Form ref="classForm" :model="form" :rules="rules" > <div v-for="(items,index) in subjectListInner" :key="index"> <FormItem label=""
2021-11-19 14:02:52
481
转载 小程序 双token
前言当我们需要用户在指定时间内有操作时就可以不用登录(首次登录还是免不了的),而在指定时间内没有任何操作时就需要重新登录的话,那么就需要对token方案进行一定设计目前比较推荐的做法是使用双token方案方案设计用户在登录之后返回access_token和refresh_token(这里假定他们的有效期分别是1小时和30天)当access_token未过期时,则请求正常当access_token过期了,此时服务端会返回过期提示给到客户端,客户端收到过期提示后,使用refresh_token去获
2021-11-08 17:59:36
802
原创 小程序 修改默认首页,不带tabBar
由于公司是付费用户才可以进投入,主页,游客用户不可进入,因此首页是不带tab,小程序默认实现首页index,绑定tabbar,{ "pages": [ "pages/guide/guide", "pages/index/index", "pages/my/my", "pages/ad/index", "pages/course/course", "pages/course/courseDetail/co
2021-11-04 11:07:10
1612
1
原创 小程序 picker 支持一级二级可选
<view class="section"> <picker mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" disabled="{{subject.length===0}}" bind:tap="checkn
2021-11-04 10:55:08
455
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人