修改用户管理中的树文字焦点颜色,方法失败判断等于1添加严格校验
This commit is contained in:
parent
4bafdf81da
commit
ffaec5f6cd
@ -41,7 +41,7 @@ service.interceptors.response.use(
|
||||
type: 'error'
|
||||
});
|
||||
return;
|
||||
}else if(response.data.code == 1){
|
||||
}else if(response.data.code === 1|| response.data.code === '1'){
|
||||
ElMessage({
|
||||
message: response.data.msg,
|
||||
type: 'error'
|
||||
|
||||
@ -367,6 +367,7 @@ const vMove = {
|
||||
<div class="faulttemplate-box">
|
||||
<aside id="silderLeft">
|
||||
<el-tree ref="treeRef" :class="useAppStore().size === 'default' ? 'silderLeft-large' : 'silderLeft-default'"
|
||||
class="dept-tree-content"
|
||||
node-key="id" :data="treedata" :current-node-key="currentNodeKey" :highlight-current="true" :props="defaultProps" v-loading="treeloading"
|
||||
@node-click="handleNodeClick" style="height: calc(100vh - 150px); overflow: auto">
|
||||
</el-tree>
|
||||
@ -558,6 +559,10 @@ const vMove = {
|
||||
.el-message-box{
|
||||
width: 300px !important;
|
||||
}
|
||||
.dept-tree-content :deep(.is-current .el-text.is-truncated) {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user