花菜

Results 29 comments of 花菜

> 文档少写了还要跑一个异步任务 代码也有点问题,跑异步任务的时候,无法发现task,需要在fastrunner里的init文件里注册app > > from FasterRunner.mycelery import app > > **all** = ['app'] task是自动发现的 异步任务只不过是apply调用一下那个任务而已 如果没跑,请发一下worker和beat的日志

`[email protected]` `[email protected]` 组件完整代码 ```vue import {codemirror} from 'vue-codemirror' import 'codemirror/mode/javascript/javascript.js' import 'codemirror/lib/codemirror.css' import 'codemirror/theme/cobalt.css' import 'codemirror/mode/python/python.js' import "codemirror/addon/hint/show-hint.css"; require("codemirror/addon/hint/javascript-hint"); export default { name: "CodeEditor", components: { codemirror }, data() {...

> 我添加了一种redis锁的方式解决该问题,但可能不是最佳的解决方案 > > [a01ba7f](https://github.com/TianPangJi/drf_admin/commit/a01ba7f9187f3c99908e6cc4ccfac148ee24ecbd) 定时任务换成mq + celery更好?redis的队列有很严重的问题,不能重复消费,不是异步的。

通过`onEvent`事件实现了获取当前item的jsonPath ![image](https://user-images.githubusercontent.com/11568297/123273117-ef048a80-d534-11eb-9107-896fe4f1b7bd.png) 不过,还存两个问题。 - 问题1,把`editor`放在`el-tab-pane`中,关闭`el-tab-pane`重新打开的时候,`editor`的数据被清空 ![image](https://user-images.githubusercontent.com/11568297/123274448-1b6cd680-d536-11eb-9d58-e41674e6fdb0.png) 第一次打开是正常的 ![image](https://user-images.githubusercontent.com/11568297/123273416-3559e980-d535-11eb-839f-207aa937b666.png) 第二次打开,数据就被清空了 ![image](https://user-images.githubusercontent.com/11568297/123273441-3d198e00-d535-11eb-9dd5-624f4116736b.png) - 问题2,怎样设置`tree`默认是`expandAll`的,在`options`中没找到这个属性。

@qishibo mac 从1.3.8覆盖安装1.4.1,提示包含恶意软件 全部卸载之后,按照也是一样的提示 ![image](https://user-images.githubusercontent.com/11568297/109315031-084a4280-7885-11eb-9920-0d314e10d234.png)

> > @qishibo > > mac 从1.3.8覆盖安装1.4.1,提示包含恶意软件 > > 全部卸载之后,按照也是一样的提示 > > 上面提到的方法不适用mac,你可以通过右键打开的方式就行了 thx,右键打开的方式阔以。

root@SydneyVps:/etc/ss-bash# sudo ssserver -c /etc/shadowsocks.json -d stop INFO: loading config from /etc/shadowsocks.json stopped root@SydneyVps:/etc/ss-bash# ./ssadmin.sh restart ssserver未启动 5632 pts/0 S 0:00 /bin/bash /etc/ss-bash/sscounter.sh sscounter.sh已关闭 sscounter.sh启动中... 5758 pts/0 S+ 0:00 /bin/bash...