Showing
1 changed file
with
3 additions
and
11 deletions
| @@ -41,19 +41,11 @@ | @@ -41,19 +41,11 @@ | ||
| 41 | <Authority | 41 | <Authority |
| 42 | :value="['api:yt:things_model:import', 'api:yt:things_model:category:import']" | 42 | :value="['api:yt:things_model:import', 'api:yt:things_model:category:import']" |
| 43 | > | 43 | > |
| 44 | - <!-- <Upload | ||
| 45 | - v-if="isShowBtn" | ||
| 46 | - accept=".json," | ||
| 47 | - :show-upload-list="false" | ||
| 48 | - :customRequest="handleImportModel" | ||
| 49 | - > | ||
| 50 | - <Button type="primary" :loading="importLoading"> 导入物模型 </Button> | ||
| 51 | - </Upload> --> | ||
| 52 | <Button type="primary" @click="handleSelectImport">导入物模型</Button> | 44 | <Button type="primary" @click="handleSelectImport">导入物模型</Button> |
| 53 | - <Button type="primary" v-if="!isShowBtn" @click="handleEditPhysicalModel" | ||
| 54 | - >编辑物模型</Button | ||
| 55 | - > | ||
| 56 | </Authority> | 45 | </Authority> |
| 46 | + <Button type="primary" v-if="!isShowBtn" @click="handleEditPhysicalModel" | ||
| 47 | + >编辑物模型</Button | ||
| 48 | + > | ||
| 57 | </div> | 49 | </div> |
| 58 | <div class="flex gap-2"> | 50 | <div class="flex gap-2"> |
| 59 | <Authority :value="[ModelOfMatterPermission.RELEASE]"> | 51 | <Authority :value="[ModelOfMatterPermission.RELEASE]"> |