上传优化 otherdata pub后刷新列表
This commit is contained in:
parent
1760f036af
commit
171a9e4ea1
|
@ -2,7 +2,7 @@
|
|||
<el-dialog title="upload" v-model="state.isShowDialog" width="550px">
|
||||
<el-form :model="state.ruleForm" size="default" label-width="150px" :rules="rules" ref="adminAddFormRef">
|
||||
<el-form-item label="file:" style="margin-top: 30px;">
|
||||
<el-upload ref="upFileRef" class="upload-demo" :file-list="state.fileData" :auto-upload="false" :on-change="handleChange">
|
||||
<el-upload ref="upFileRef" class="upload-demo" :accept="'.xls,.xlsx'" :file-list="state.fileData" :auto-upload="false" :on-change="handleChange">
|
||||
<template #trigger>
|
||||
<el-button type="primary">select file</el-button>
|
||||
</template>
|
||||
|
|
|
@ -262,6 +262,7 @@ const pub = (row) => {
|
|||
}
|
||||
updateEntityData(daNew)
|
||||
ElMessage.success('success');
|
||||
getTableData()
|
||||
})
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue