提交 72141cf4 编写于 作者: M mehaotian

update: uni-collapse 函数错误拼写

上级 a7ce5d01
......@@ -56,15 +56,15 @@
// this.openCollapse(this.open)
},
methods: {
// 开启或关闭折叠面板
// 开启或关闭折叠面板
openCollapse(open: boolean) {
if (this.disabled) return
// 关闭其他已打开
$dispatch(this, 'UniCollapse', 'cloceAll')
this.is_open = open
this.oepnOrClose(open)
this.openOrClose(open)
},
oepnOrClose(open: boolean) {
openOrClose(open: boolean) {
const boxNode = this.boxNode?.style!;
const contentNode = this.contentNode?.style!;
let hide = open ? 'flex' : 'none';
......@@ -91,7 +91,7 @@
background-color: #fff;
}
.down_arrow {
width: 8px;
......@@ -115,12 +115,12 @@
font-size: 14px;
font-weight: 400;
}
.open--active {
/* background-color: #f0f0f0; */
color: #bbb;
}
.is-disabled {
color: #999;
}
......@@ -137,4 +137,4 @@
transform: translateY(-100%);
opacity: 0;
}
</style>
\ No newline at end of file
</style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册