Commit 6d98cd5bb3c617dcdaf7d325c0050a8251b60561
Merge branch 'perf/upload-file-limit' into 'main_dev'
perf: 优化物模型导入只能选择json文件导入 See merge request yunteng/thingskit-front!889
Showing
1 changed file
with
1 additions
and
0 deletions
@@ -36,6 +36,7 @@ | @@ -36,6 +36,7 @@ | ||
36 | <Authority value="api:yt:things_model:import"> | 36 | <Authority value="api:yt:things_model:import"> |
37 | <Upload | 37 | <Upload |
38 | v-if="isShowBtn" | 38 | v-if="isShowBtn" |
39 | + accept=".json," | ||
39 | :show-upload-list="false" | 40 | :show-upload-list="false" |
40 | :customRequest="handleImportModel" | 41 | :customRequest="handleImportModel" |
41 | > | 42 | > |