garygchai
garygchai
安装成功之后,按照本地目录配置了环境: { "env": { "fecs_bin": "C:/Users/Administrator/AppData/Roaming/npm/node_modules/fecs/bin/fecs", "node_bin": "D:/Program Files/nodejs/node.exe" } } 但是,插件用不了,没任何反应~  求助~
``` npm i node-shared-cache -S > [email protected] install /Users/changhai.gch/study/egg-sse/node_modules/node-shared-cache > node-gyp rebuild CXX(target) Release/obj.target/binding/src/binding.o In file included from ../src/binding.cc:1: In file included from ../../nan/nan.h:190: ../../nan/nan_maybe_43_inl.h:88:15: error: no member named 'ForceSet'...
功能描述:对某条数据操作完成之后,希望可以自动刷新列表,保证修改列表显示最新的数据。
// static-cache/index.js 198 obj.cacheControl = options.cacheControl // why not: obj.cacheControl = obj.cacheControl ? obj.cacheControl : options.cacheControl ? 199 obj.maxAge = obj.maxAge ? obj.maxAge : options.maxAge || 0