ZhengXingchi / ZhengXingchi.github.io

Apache License 2.0
0 stars 0 forks source link

distrib_web #106

Open ZhengXingchi opened 4 years ago

ZhengXingchi commented 4 years ago

echart使用

参考ECharts圆环图(详细示例——满满的注释)

ZhengXingchi commented 4 years ago

window.opener实现父页面与子页面之间的交互

window.opener方法的使用 js跨域

ZhengXingchi commented 4 years ago

vue-element-admin

国内源:花裤衩 / vue-element-admin

ZhengXingchi commented 4 years ago

将绝对路径转为相对路径

path.relative(from, to)

ZhengXingchi commented 4 years ago

webpack自动上传静态资源到阿里云oss

参考让webpack自动上传静态资源到阿里云oss

github gp5251/webpack-aliyun-oss

ZhengXingchi commented 4 years ago

关于webpack的使用指南

Webpack 4 和单页应用入门

ZhengXingchi commented 4 years ago

vue拥抱typescript

Armour/vue-typescript-admin-docs 前端函数节流和防抖的详述以及js和ts版的封装 vue的ts版本使用minins,参考vue使用mixin!迷信?typescript中如何使用mixin? vue的ts版本封装防抖和节流Typescript封装防抖和节流函数 详解Typescript里的This Vue with TypeScript Vue + TypeScript 尝鲜体验 Typescript配合React实践 TypeScript安利指南

参考vue装饰器

bug

  1. [Vue warn]: Property "visible" must be accessed with "$data.visible" because properties starting with "$" or "_" are not proxied in the Vue instance to prevent conflicts with Vue internalsSee: https://vuejs.org/v2/api/#data answer Message.error(error || 'Has Error') 换成 Message.error('Has Error')或者换成Message.error(error.message || 'Has Error')