F file sync

This commit is contained in:
zhenorzz 2023-03-14 16:15:55 +08:00
parent 5fbd90ee00
commit 3d6c01f3a1

View File

@ -5,6 +5,7 @@
class="file-dialog"
:close-on-click-modal="false"
:fullscreen="$store.state.app.device === 'mobile'"
@close="formProps.show = 'file-list'"
>
<el-row
v-if="formProps.show === 'file-list'"
@ -212,6 +213,7 @@ watch(
)
function getProjectFileList(projectId: number) {
formData.value.files = []
new ProjectFileList({ id: projectId }).request().then((response) => {
formData.value.files = response.data.list.map((item) => {
return { ...item, state: 'success', content: '' }