Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
易企天创
zentaoatf
提交
8e768976
Z
zentaoatf
项目概览
易企天创
/
zentaoatf
10 个月 前同步成功
通知
11
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
3
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Z
zentaoatf
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
3
Issue
3
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
8e768976
编写于
4月 14, 2022
作者:
aaronchen2k2k
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix issues
上级
49d6464d
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
18 addition
and
3 deletion
+18
-3
makefile-server.mk
makefile-server.mk
+13
-1
ui/src/views/script/component/tree.vue
ui/src/views/script/component/tree.vue
+2
-2
xdoc/notes.txt
xdoc/notes.txt
+3
-0
未找到文件。
makefile-server.mk
浏览文件 @
8e768976
...
...
@@ -29,31 +29,43 @@ prepare_res:
@
go-bindata
-o
=
res/res.go
-pkg
=
res res/...
@
rm
-rf
${BIN_DIR}
compile_all
:
compile
_win64 compile_win32 compile_linux compile_mac
compile_all
:
build
_win64 compile_win32 compile_linux compile_mac
build_win64
:
compile_win64 package_win64_client
compile_win64
:
@
echo
'start compile win64'
@
CGO_ENABLED
=
1
CC
=
x86_64-w64-mingw32-gcc
CXX
=
x86_64-w64-mingw32-g++
GOOS
=
windows
GOARCH
=
amd64
\
${BUILD_CMD}
-x
-v
-ldflags
"-s -w"
\
-o
${BIN_WIN32}${BINARY}
.exe
${MAIN_FILE}
package_win64_client
:
cd
client
&&
npm run package-win64
&&
cd
..
build_win32
:
compile_win32 package_win64_client
compile_win32
:
@
echo
'start compile win32'
@
CGO_ENABLED
=
1
CC
=
i686-w64-mingw32-gcc
CXX
=
i686-w64-mingw32-g++
GOOS
=
windows
GOARCH
=
386
\
${BUILD_CMD}
-x
-v
-ldflags
"-s -w"
\
-o
${BIN_WIN32}${BINARY}
.exe
${MAIN_FILE}
package_win32_client
:
cd
client
&&
npm run package-win32
&&
cd
..
build_linux
:
compile_linux package_linux_client
compile_linux
:
@
echo
'start compile linux'
CGO_ENABLED
=
1
GOOS
=
linux
GOARCH
=
amd64
CC
=
/usr/local/gcc-4.8.1-for-linux64/bin/x86_64-pc-linux-gcc
CXX
=
/usr/local/gcc-4.8.1-for-linux64/bin/x86_64-pc-linux-g++
\
${BUILD_CMD}
-
o
${BIN_LINUX}${BINARY}
${MAIN_FILE}
package_linux_client
:
cd
client
&&
npm run package-linux
&&
cd
..
build_mac
:
compile_mac package_mac_client
compile_mac
:
@
echo
'start compile mac'
@
CGO_ENABLED
=
1
GOOS
=
darwin
GOARCH
=
amd64
\
${BUILD_CMD}
\
-o
${BIN_MAC}${BINARY}
${MAIN_FILE}
package_mac_client
:
cd
client
&&
npm run package-mac
&&
cd
..
copy_files
:
@
echo
'start copy files'
...
...
ui/src/views/script/component/tree.vue
浏览文件 @
8e768976
...
...
@@ -237,7 +237,7 @@ export default defineComponent({
filerValue
.
value
=
data
.
val
if
(
!
currProduct
.
value
.
id
&&
filerType
.
value
!==
'
workspace
'
)
{
filerType
.
value
=
''
filerType
.
value
=
'
workspace
'
filerValue
.
value
=
''
}
...
...
@@ -273,7 +273,7 @@ export default defineComponent({
await
loadScripts
()
}
// only do it when switch from another pages, otherwise will called by watching currProduct method.
if
(
currProduct
.
value
.
id
&&
filerValue
.
value
.
length
===
0
)
initData
()
if
(
filerValue
.
value
.
length
===
0
)
initData
()
const
expandedKeys
=
ref
<
string
[]
>
([]);
const
getOpenKeys
=
(
treeNode
,
isAll
)
=>
{
...
...
xdoc/notes.txt
浏览文件 @
8e768976
...
...
@@ -23,6 +23,9 @@ go-bindata -o=res/res.go -pkg=res res/...
make compile_win64
cd client && npm run package-win64 && cd ..
make compile_win32
cd client && npm run package-win32 && cd ..
make compile_linux
cd client && npm run package-linux && cd ..
scp -r client/out/ztf-linux-x64/ 192.168.0.114:/home/aaron
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录