Skip to content

Commit

Permalink
feat: 动态详情
Browse files Browse the repository at this point in the history
  • Loading branch information
Fengjing95 committed Sep 18, 2022
1 parent b9b5410 commit bce82ed
Show file tree
Hide file tree
Showing 17 changed files with 978 additions and 54 deletions.
1 change: 1 addition & 0 deletions components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ declare module '@vue/runtime-core' {
AMenuItem: typeof import('@arco-design/web-vue')['MenuItem']
AModal: typeof import('@arco-design/web-vue')['Modal']
APageHeader: typeof import('@arco-design/web-vue')['PageHeader']
APagination: typeof import('@arco-design/web-vue')['Pagination']
APopconfirm: typeof import('@arco-design/web-vue')['Popconfirm']
ARow: typeof import('@arco-design/web-vue')['Row']
ASpace: typeof import('@arco-design/web-vue')['Space']
Expand Down
21 changes: 21 additions & 0 deletions custom-types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*
* @Date: 2022-09-17 18:58:37
* @Author: 枫
* @LastEditors: 枫
* @description: 自定义类型(wangEditor)
* @LastEditTime: 2022-09-17 18:58:37
*/
import { SlateDescendant } from "@wangeditor/editor";

declare module "@wangeditor/editor" {
// 扩展 Text
interface SlateText {
text: string;
}

// 扩展 Element
interface SlateElement {
type: string;
children: SlateDescendant[];
}
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"dependencies": {
"@arco-design/web-vue": "^2.36.1",
"@arco-themes/vue-orange": "^0.0.1",
"@wangeditor/editor": "^5.1.18",
"@wangeditor/editor-for-vue": "^5.1.12",
"axios": "^0.27.2",
"jsencrypt": "^3.2.1",
"moment": "^2.29.4",
Expand Down
Loading

0 comments on commit bce82ed

Please sign in to comment.