Commit 2dc7bf4a21d7c680f1b0774a1a40631f9e0f6ca0

Authored by xp.Huang
2 parents 5a8bed0f 0d28871b

Merge branch 'perf/product-physical-model' into 'main_dev'

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

See merge request yunteng/thingskit-front!1089
@@ -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]">