g8up

Results 46 issues of g8up

``` [WARNI] Can't resolve `my_project_namespace/page/layout.tpl` in file [/page/account/index.tpl], did you miss `npm install my_project_namespace`? ``` 工程中依赖 fis3-smarty,会出现 tpl 文件。 路径中的 `my_project_namespace` 是 fis 的工程模块 namespace 名。 index.tpl 中有依赖 layout.tpl: ```...

like ```markdown | 业务方向 | 线人 | |:----------|:-----------| | 运营后台 - 销售 | 雪、鹏、丽 | | 智能商业部 | 瑞 | ```

统一返回值数据结构,以便向下正常透传,供交互反馈正确解析。 # 解释 - 视图层触发上传、下载逻辑时,与背景页交互,期待的返回结果是 ```json5 // ret { message: 'xxx', // 'done' 或其他值 note: 'xxx', } ``` https://github.com/easychen/CookieCloud/blob/e631fa94f25e58a93f41aff37a3b46e1cd6755e9/extension/popup.tsx#L13-L39 - 背景页响应时,会有个字段名的映射转换: `action`对应`message` https://github.com/easychen/CookieCloud/blob/e631fa94f25e58a93f41aff37a3b46e1cd6755e9/extension/background/messages/config.ts#L14-L23 - 本次修改将`upload_cookie()`、`download_cookie()`的异常时的返回值数据结构统一成: ```json5 { action: 'xxx', note:...

![image](https://user-images.githubusercontent.com/8005686/31859183-acaf0f3c-b73a-11e7-8656-483ff23a9948.png)