mirror of
https://github.com/doocs/md.git
synced 2024-11-24 19:10:34 +08:00
feat: update code style and todo list
* 更新代码样式和待办清单
This commit is contained in:
parent
cecd7dde55
commit
95b5ce7bb4
@ -16,8 +16,7 @@ module.exports = {
|
|||||||
parserOptions: {
|
parserOptions: {
|
||||||
parser: 'babel-eslint'
|
parser: 'babel-eslint'
|
||||||
},
|
},
|
||||||
overrides: [
|
overrides: [{
|
||||||
{
|
|
||||||
files: [
|
files: [
|
||||||
'**/__tests__/*.{j,t}s?(x)',
|
'**/__tests__/*.{j,t}s?(x)',
|
||||||
'**/tests/unit/**/*.spec.{j,t}s?(x)'
|
'**/tests/unit/**/*.spec.{j,t}s?(x)'
|
||||||
@ -25,6 +24,5 @@ module.exports = {
|
|||||||
env: {
|
env: {
|
||||||
jest: true
|
jest: true
|
||||||
}
|
}
|
||||||
}
|
}]
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
@ -43,8 +43,8 @@ Markdown 文档自动即时渲染为微信图文,让你不再为微信文章
|
|||||||
- [x] 支持自定义 CSS 样式并实时渲染
|
- [x] 支持自定义 CSS 样式并实时渲染
|
||||||
- [x] 支持一键恢复至默认内容及样式
|
- [x] 支持一键恢复至默认内容及样式
|
||||||
- [x] 支持打开或关闭引用链接的选项
|
- [x] 支持打开或关闭引用链接的选项
|
||||||
- [ ] 新建右键点击菜单栏
|
- [ ] 支持在编辑框右键弹出功能选项卡
|
||||||
- [ ] 插入表格功能优化
|
- [ ] 支持更加人性化的插入表格功能
|
||||||
|
|
||||||
|
|
||||||
![select-and-change-color-theme](https://imgkr.cn-bj.ufileos.com/32c05c23-6309-491f-bd0d-f22a62c944b4.gif)
|
![select-and-change-color-theme](https://imgkr.cn-bj.ufileos.com/32c05c23-6309-491f-bd0d-f22a62c944b4.gif)
|
||||||
|
@ -21,9 +21,6 @@ export default {
|
|||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
}, 200)
|
}, 200)
|
||||||
window.console &&
|
|
||||||
window.console.log &&
|
|
||||||
(console.log("Think big, train fast, learn deep. See https://github.com/yanglbme"))
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,11 +20,7 @@ service.interceptors.request.use(
|
|||||||
);
|
);
|
||||||
|
|
||||||
service.interceptors.response.use(res => {
|
service.interceptors.response.use(res => {
|
||||||
if (res.data.success) {
|
return res.data.success ? res.data : Promise.reject(res.data);
|
||||||
return res.data;
|
|
||||||
}
|
|
||||||
console.log(res);
|
|
||||||
return Promise.reject(res.data);
|
|
||||||
}, error => Promise.reject(error));
|
}, error => Promise.reject(error));
|
||||||
|
|
||||||
export default service;
|
export default service;
|
Loading…
Reference in New Issue
Block a user