分类:iView
2021
10-15
2020
11-19
2020
11-13
当在使用iviewTable组件里固定列功能时出现表格不自适应宽度问题具体如下解决这个bug很简单把组件里的width改为minWidth即可columns:[{title:'账户名',key:'accountName',fixed:'left',minWidth:150},{title:'订阅名称',key:'subscriptionName',minWidth:140},{title:'订阅ID',key:'subscriptionId',minWidth:200},{title:'资源组',key:'resourceGroup',...
继续阅读 >
2020
10-09
首先先安装依赖:npminstallv-viewer--save然后全局引入,我这边是在main.js里面操作写的:importViewerfrom'v-viewer'import'viewerjs/dist/viewer.css'然后注册下:Vue.use(Viewer)Viewer.setDefaults({Options:{'inline':true,'button':true,'navbar':true,'title':true,'toolbar':true,'tooltip':true,'movable':true,'zoomable':true,'rotatable':true,'scalable':true,'transition':true,'...
继续阅读 >