摘要: <template> <!-- 月周计划报表 --> <div class="monthPlanForm"> <el-table :data="tableData" :span-method="spanMethod" style="width: 100%"> <el-table-column typ 阅读全文
posted @ 2023-10-26 11:19 blurs 阅读(276) 评论(0) 推荐(0) 编辑
摘要: function hecheng (){ // 创建一个canvas const d2 = testCanvas.getContext('2d'); // 准备图片1 const url = URL.createObjectURL(file.files[0]); var img = document 阅读全文
posted @ 2023-09-26 09:27 blurs 阅读(16) 评论(0) 推荐(0) 编辑
摘要: // 关于接口请求方法重复运行的问题 确保每次接口返回的都是最后一次请求执行 export const SingleAction = function(Action: (...param:any)=> Promise<any>){ // 创建唯一值 let AccessNewTime: number 阅读全文
posted @ 2023-05-17 16:02 blurs 阅读(129) 评论(0) 推荐(0) 编辑
摘要: !(function(v, g){ g["DataV"] || (g["DataV"] = v()); })(function(){ const zoom = [0, 20, 40, 60, 80, 99]; // 获取唯一序列码 let xid_i = 0; const getXid = func 阅读全文
posted @ 2023-03-27 11:12 blurs 阅读(40) 评论(0) 推荐(0) 编辑
摘要: const Styled = function(dom, styled, datas, isOnlyXid){ this.xid = isOnlyXid || getXid(); this.dom = dom; this.dom.classList.add(this.xid); this.style 阅读全文
posted @ 2023-03-27 11:10 blurs 阅读(12) 评论(0) 推荐(0) 编辑
摘要: f(x)=x3消除变化量之前是3x2+3x(dx)+dx2带入公式就是 2 * 2 * 2 = 8变化量为13 * 3 * 3 = 27带入导数公式可以得出变化率3x^2+3x(dx)+dx^2 = 3 * 2 * 2 + 3 * 2 * 1 + 1 * 1 = 19正好等于 3 阅读全文
posted @ 2023-03-01 09:35 blurs 阅读(31) 评论(0) 推荐(0) 编辑
摘要: // 变化可视区域 替代掉centerAndZoom changeBounds (param: { center: number[], zoom: number, onAfter?: Function, isNoOnChange?: boolean }){ let isMove = false; c 阅读全文
posted @ 2023-02-27 09:20 blurs 阅读(142) 评论(0) 推荐(0) 编辑
摘要: export function _getAction (url: string, param?: any, header?: any){ return new Promise((resovle: any, error: any)=>{ indexDBMap.getDataByKey(JSON.str 阅读全文
posted @ 2023-02-15 11:11 blurs 阅读(90) 评论(0) 推荐(0) 编辑
摘要: import { createStore } from 'redux' import { useState } from 'react'; export const store = createStore(addTodo, 0); function addTodo(state = 0, { type 阅读全文
posted @ 2023-02-02 17:43 blurs 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 1. react 事件驱动到 执行 renderer渲染的基本流程 我个人写了2个月的react总结了一下, react相比于vue好像不是面向对象的框架一样, 它更像是一个通过固定的数据结构 不断的重渲染自己视图的框架, 我个人感觉 它更加面向过程。 以此,我总之决定在实现react组件某些功能的 阅读全文
posted @ 2023-02-02 17:41 blurs 阅读(12) 评论(0) 推荐(0) 编辑