
vue
Meetyouhere
就想与众不同
积累点滴素材
展开
-
vue引入jquery
vue2 安装jquery并在webpack.base.conf.js 中添加plugins: [ new webpack.ProvidePlugin({ //引入Jquery $: 'jquery', jQuery: 'jquery', 'window.jQuery':'jquery' }) ]这样在js中就可以用$("")了原创 2021-01-13 16:30:44 · 116 阅读 · 0 评论 -
vue + antd 表格应用
vue + antd 使用 antd的表格组件,并在表格最后一列添加操作列第一步 在cloumns 中添加{ title: 'AOD File', dataIndex: 'operation', scopedSlots: { customRender: 'operation' }, width: 160}第二步写一个插槽 slot 的值和第一步中的dataIndex对应<a-table:columns...原创 2021-02-02 09:58:51 · 903 阅读 · 0 评论