diff --git a/front/src/views/capabilityCloud/components/ComponentServices.vue b/front/src/views/capabilityCloud/components/ComponentServices.vue index fc2dbd45..f43a0dd9 100644 --- a/front/src/views/capabilityCloud/components/ComponentServices.vue +++ b/front/src/views/capabilityCloud/components/ComponentServices.vue @@ -413,7 +413,9 @@ snum.value[1].num = res.data.data.result[0].value[1] totalCallsSnum2(end).then((resSon) => { snum.value[2].num = - (resSon.data.data.result[0].value[1] / snum.value[1].num) * 100 + '%' + parseInt( + (resSon.data.data.result[0].value[1] / snum.value[1].num) * 100 + ) + '%' }) }) } diff --git a/front/src/views/detailsAll/components/Developer/DeveloperTrial.vue b/front/src/views/detailsAll/components/Developer/DeveloperTrial.vue index edf44111..fe614238 100644 --- a/front/src/views/detailsAll/components/Developer/DeveloperTrial.vue +++ b/front/src/views/detailsAll/components/Developer/DeveloperTrial.vue @@ -17,7 +17,12 @@

{{ dataFrom.numberName }}

-

{{ dataFrom.number }}

+ + +

+ {{ dataFrom.number }} +

+
复制账号
@@ -40,9 +45,9 @@ }) const dataFrom = ref({ linkName: '试用地址', - link: 'http://localhost:8080/#/detailsfdddffffffffffffffdfgdfgdfdgdfgdfg', + link: '', numberName: '试用账号', - number: 'zhangfeihu', + number: '', passwordName: '试用密码', password: '**************************', password2: '', @@ -144,6 +149,13 @@ .main-center { padding-left: 1rem; padding-right: 1rem; + .main-center-number { + display: inline-block; + width: 2.4rem; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } } .main-right { padding-right: 0.7rem; diff --git a/front/src/views/home/algorithmCompare.vue b/front/src/views/home/algorithmCompare.vue index ff86eff6..550eed45 100644 --- a/front/src/views/home/algorithmCompare.vue +++ b/front/src/views/home/algorithmCompare.vue @@ -37,7 +37,9 @@ {{ `共选取${selectedRowKeys.length}个算法` }}
- {{ item.name || '--' }} + + {{ item.name || '--' }} +