Willin

Results 65 comments of Willin

倒不是做省份制霸地图。规划要做个旅行义工平台,以省为单位感觉范围太大了。所以打算做成先全国展示,点击后用上省份地图

因为并不太需要实际的边缘,这种展示的 svg 很轻量,也更直观,让人眼前一亮啊

``` js console.log({ cut: nodejieba.cut(str, 'MP', 3), tag: nodejieba.tag(str), extract: nodejieba.extract(str, 5) }); ``` 参数数字从1-5都试过,但`str`输入为`开灯`的时候,结果都是一样的: ``` js { cut: [ '开灯' ], tag: [ { word: '开灯', tag: 'v' }...

``` Could not fetch data. 500 error {"timestamp":"2021-11-24T07:40:18.685+0000","status":500,"error":"Internal Server Error","message":"jOOQ; SQL [insert into \"public\".\"download_count\" (\"package_name\", \"date\", \"count\") values (?, cast(? as date), ?)]; ERROR: duplicate key value violates unique constraint...

是的,babel抛出的

还有一个问题 用了 `require('react-router!xxxxx')`引用的router里面内容不能热加载。 ``` webpack-dev-server --config webpack.config.dev.js --colors --devtool eval --hot --inline --no-info --content-base static/react --history-api-fallback ```

``` /usr/local/lib/node_modules/stats/bin/stats:46 if (err) throw err; ^ Error: ENFILE: file table overflow, open 'push/node_modules/inert/node_modules/joi/test/alternatives.js' ```

@fengmk2 满足你的愿望,lazyload, es6, 所有云接口API集成 https://github.com/willin/waliyun