Commit 0d28871b47a61400b05fd8ec191cc3d20e01975e

Authored by loveumiko
1 parent 551158c6

perf: 物模型添加编辑物模型按钮

@@ -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]">