TommyShao

Results 8 comments of TommyShao

I try like this [https://github.com/tomieric/vue2.7-playgroud/blob/master/src/router/index.js](https://github.com/tomieric/vue2.7-playgroud/blob/master/src/router/index.js)

是按流量排名的吗

## HTML ```html window.PSD = require('psd') ``` ## Vue ```html import PSD from 'psd' export default { methods: { upload (file) { const url = window.URL.createObjectURL(file) const psd = await...

``` fetch('/api/waterfall?search=girl') .then(data => { if (isReset) { this.waterfallData = data } else { this.waterfallData.push(...data) } resolve(data) this.$nextTick(() => this.$refs.bricks.pack()) }) ```

[https://kuaizi-co.github.io/kz-table/](https://kuaizi-co.github.io/kz-table/) 列宽自适应

可以更简单一点,兼容性好,参考ant.design的表格组件