Skip to content

Commit 44f99d7

Browse files
committed
fix: 细节优化
1 parent bea3b2e commit 44f99d7

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

app/manifest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
appname=code.editor
22
version=0.0.1
33
changelog=changelog
4-
desc=`<div>VS Code 同源库,支持多种编码文件的操作,更有语法高亮、代码补全。</div><div>多数文件可双击文件或右键选择代码编辑器打开,部分文件可右键【详细信息】-【复制原始路径】,点击桌面图标访问后粘贴路径打开。</div>
4+
desc=`<div>VS Code 同源库,多种编码文件的操作,更有语法高亮、代码补全、目录管理和图片预览。</div><div>多数文件可双击文件或右键选择代码编辑器打开,部分文件可右键【详细信息】-【复制原始路径】,点击桌面图标访问后粘贴路径打开。</div>
55
<div>程序已开源,欢迎 Star,欢迎 <a href="https://github.com/FNOSP/App.Bin.CodeEditor/issues" target="_blank">Issues</a></div>
6-
<div>提示:移动端暂未做 UI 适配,访问可能布局错乱;访问二进制文件将显示乱码,请谨慎操作。</div>`
6+
<div>提示:移动端暂未做 UI 适配,访问可能布局错乱。</div>`
77
arch=x86_64
88
display_name=代码编辑器
99
maintainer=Flex_7746

frontend/src/layout/ViewEditor.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ watch(
100100
<style lang="scss">
101101
#editor-view {
102102
position: relative;
103-
z-index: 1;
104103
flex: 1;
105104
106105
> .content {

frontend/src/layout/ViewLeft/LeftBox.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ const changeFolderWidth = (v: number) => {
3434
<style lang="scss">
3535
#left-view {
3636
position: relative;
37-
z-index: 5;
3837
border-right: 1px solid var(--el-border-color);
3938
4039
> .view {

frontend/src/layout/ViewLeft/ViewHistory.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ const editor = useEditorStore()
6868
--el-tree-text-color: var(--el-text-color-regular);
6969
color: var(--el-tree-text-color);
7070
font-size: var(--el-font-size-base);
71+
white-space: nowrap;
72+
overflow: hidden;
73+
text-overflow: ellipsis;
7174
}
7275
}
7376
</style>

frontend/src/layout/ViewMenu.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ onMounted(() => {
3636
<style lang="scss">
3737
#ment-view {
3838
position: relative;
39-
z-index: 10;
4039
display: flex;
4140
flex-direction: column;
4241
width: 40px;

frontend/src/utils/env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ export const HOST = IS_DEV ? 'http://127.0.0.1:17746' : '/cgi/ThirdParty/code.ed
44

55
export const USER_CONFIG_PATH = IS_DEV
66
? '/Users/flex/Downloads/config.json'
7-
: '/var/apps/code.editor/shares/config.json'
7+
: '/var/apps/code.editor/shares/code.editor/config.json'

frontend/src/utils/file.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const getFullPath = (path: string) => {
99
return path
1010
}
1111

12-
return `${HOST}/?_api=read&path=${encodeURIComponent(path)}`
12+
return `${HOST}?_api=read&path=${encodeURIComponent(path)}`
1313
}
1414

1515
export async function isBinaryContent(blob: Blob) {

0 commit comments

Comments
 (0)