File tree Expand file tree Collapse file tree 4 files changed +11
-3
lines changed
Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 11# 更新日志
22
3+ ## 1.4.0
4+
5+ - 新增:目录管理,支持打开、切换目录,便于用户操作
6+ - 优化:界面布局调整,功能更丰富
7+
38## 1.3.4
49
510- 新增:历史记录支持删除和清空
Original file line number Diff line number Diff line change @@ -95,9 +95,11 @@ import { useUserStore } from '@/store/user'
9595import { useOpenStore } from ' @/store/open'
9696import { useEditorStore } from ' @/store/editor'
9797import { useLikeStore } from ' @/store/like'
98+ import { useMenuStore } from ' @/store/menu'
9899
99100const user = useUserStore ()
100101const open = useOpenStore ()
102+ const menu = useMenuStore ()
101103const like = useLikeStore ()
102104const editor = useEditorStore ()
103105
@@ -115,6 +117,7 @@ onMounted(async () => {
115117
116118const changeDir = (v : string ) => {
117119 like .cfg .folderActive = v
120+ menu .open = ' folder'
118121 open .show = undefined
119122}
120123
Original file line number Diff line number Diff line change 2020
2121 <div class =" text" >{{ getFileName(item.path) }}</div >
2222
23- <div style =" flex : 1 " ></div >
2423 <el-icon class =" i" @click.stop =" open.removeHistory(item.path)" ><Close /></el-icon >
2524 </div >
2625 </div >
@@ -71,6 +70,7 @@ const editor = useEditorStore()
7170 white-space : nowrap ;
7271 overflow : hidden ;
7372 text-overflow : ellipsis ;
73+ flex : 1 ;
7474 }
7575}
7676 </style >
Original file line number Diff line number Diff line change 11{
22 "name" : " code.editor" ,
3- "version" : " 1.3.4 " ,
4- "changelog" : " <div>新增:打开时展示历史记录,便于快速访问</div><div>新增:偏好设置中新增自动换行</div><div>修复:偏好设置恢复默认不生效的问题</div>" ,
3+ "version" : " 1.4.0 " ,
4+ "changelog" : " <div>新增:目录管理,支持打开、切换目录,便于用户操作</div><div>新增: 打开时展示历史记录,便于快速访问</div><div>新增:偏好设置中新增自动换行</div><div>新增:图片预览功能 </div><div>修复:偏好设置恢复默认不生效的问题</div>" ,
55 "scripts" : {
66 "dev" : " node src/app.js" ,
77 "install" : " npm i --prefix=backend && npm i --prefix=frontend" ,
You can’t perform that action at this time.
0 commit comments