增加文字提示,以及按钮切换

This commit is contained in:
yujh 2024-07-18 17:04:17 +08:00
parent b5f81f226c
commit 14144002d3
2 changed files with 7 additions and 3 deletions

View File

@ -791,6 +791,7 @@
});
},
initData() {
debugger;
const that = this;
that.tableLoading = true;
const wsId = that.$store.getters.getWsIdFn;
@ -1838,7 +1839,6 @@
* @param currRepositoryDetailId
*/
openRepositoryInfoById(type,mainRepository) {//
debugger;
let that = this;
//
if(that.isHighSecurity && that.isFileSecurity){
@ -1877,6 +1877,7 @@
this.$router.push({path: '/Repository', query: {id: id, versionId: versionId, path: arr.join(','), param: Math.random()}});
},
positionTableRoleRepository(id, versionId, childSize, folder) {//
debugger;
if (childSize == 0) {
//
if (folder) {

View File

@ -212,10 +212,13 @@
node-key="id"
lazy
:load="loadNode">
<span slot-scope="{node, data}">
<span slot-scope="{node, data}" >
<i class="awsui-iconfont tree-content-icon tree-content-icon-padding" :style="{'color': node.data.icon.color}"
v-html="node.data.icon.icon"></i>
<span :style="{'font-weight': data.id.length < 36 ? '600' : ''}">{{node.label}}</span>
<el-tooltip class="item" effect="dark" :content="node.label" placement="top">
<span :style="{'font-weight': data.id.length < 36 ? '600' : ''}">{{node.label}}</span>
</el-tooltip>
</span>
</el-tree>
</el-main>