- 博客(6)
- 收藏
- 关注
原创 vue web 抓拍
<template> <Div class="video-main"> <div> <!--canvas截取流--> <canvas v-show="false" ref="canvas" class="canvas-st "></canvas> <!--图片展示--> <video ref="video" class="canva.
2022-01-12 14:02:12
289
原创 angular 上传Excel
import { FileUploader } from 'ng2-file-upload';this.uploader = new FileUploader({ url: this.importExcelUrl, method: 'POST', itemAlias: 'excel', }); // 选择的文件 selectedFileO...
2019-07-01 11:49:31
1195
原创 关于new Date()获取当前时间
new Date() 获取当前时间const date = new Date(); const current_date = date.getDate(); // 获取本 日 const current_month = date.getMonth() + 1; // 获取本 月...
2018-08-02 14:43:00
31538
原创 Angular 模拟数据 及 表头
首先创建一个json文件,格式如下:{ "data": [ { "id": 1, "name": "Alice", "age" : "16", "sex": "男" }, { "i
2018-07-31 17:21:08
602
原创 Angular 文件上传
下面做的是Angular 实现文件上传的一个小功能。首先在你所需要用到的ts中导入:import { DomSanitizer } from '@angular/platform-browser';在constructor()中依赖注入private sanitizer: DomSanitizer: constructor( private sanitizer: DomSan...
2018-07-30 17:55:23
1304
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人