|
@@ -442,7 +442,7 @@ const syncNodeMoadl = (node)=>{
|
|
})
|
|
})
|
|
}
|
|
}
|
|
//文件同步
|
|
//文件同步
|
|
-const filesyncNodeMoadl = async (node)=>{
|
|
|
|
|
|
+const filesyncNodeMoadl = async (node, data)=>{
|
|
window?.$messageBox?.alert('是否同步该节点?', '提示', {
|
|
window?.$messageBox?.alert('是否同步该节点?', '提示', {
|
|
showCancelButton: true,
|
|
showCancelButton: true,
|
|
confirmButtonText: '确认同步',
|
|
confirmButtonText: '确认同步',
|
|
@@ -451,7 +451,7 @@ const filesyncNodeMoadl = async (node)=>{
|
|
if (action === 'confirm') {
|
|
if (action === 'confirm') {
|
|
const { code } = await syncFileTree({
|
|
const { code } = await syncFileTree({
|
|
projectId:projectId.value,
|
|
projectId:projectId.value,
|
|
- contractId:contractId.value,
|
|
|
|
|
|
+ contractId:data.contractId,
|
|
})
|
|
})
|
|
if (code == 200) {
|
|
if (code == 200) {
|
|
await window.$message?.success('同步成功')
|
|
await window.$message?.success('同步成功')
|