Commit dfd328ab authored by wind's avatar wind
Browse files

* 优化TS类型检查

No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -6,7 +6,7 @@ export const dataList: FileRecord[] = [
id: '037d8cbdd45f4cfa9844942eeb95504c',
fileName: 'logo.png',
fileType: 'png',
fileSize: '1908530',
fileSizeLabel: '1.9 MB',
accessUrl: '/file/037d8cbdd45f4cfa9844942eeb95504c.png',
createByName: 'DIBOOT',
createTime: '2022-07-18 13:51:59'
......
......@@ -145,7 +145,7 @@ const multiple = inject<boolean | undefined>(
<excel-import
v-if="operation?.importData && importPermission"
:excel-base-api="`${baseApi}/excel`"
:attach="relatedKey ? () => ({ [relatedKey]: parent }) : undefined"
:attach="relatedKey ? () => ({ [`${relatedKey}`]: parent }) : undefined"
@complete="onSearch"
/>
<el-space>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment