代码提交
This commit is contained in:
@@ -36,7 +36,12 @@
|
||||
showLevel: true, // 是否显示日志级别标签
|
||||
//暂停/继续 回调函数
|
||||
onTogglePause: (isPaused) => {
|
||||
console.log(isPaused ? '暂停' : '继续');
|
||||
const options = {
|
||||
url: Fmt.ctx() + '/logging/close',
|
||||
data: {closed: isPaused},
|
||||
method: 'post'
|
||||
};
|
||||
Fmt.axios(options).then((result) => console.log(result)).catch((err) => console.error(err));
|
||||
},
|
||||
onCreated: () => {
|
||||
console.log('日志容器已创建');
|
||||
|
||||
Reference in New Issue
Block a user