提交 51301c42 编写于 作者: KK's avatar KK

冗余代码

上级 f45b9e35
......@@ -143,14 +143,6 @@ import { Environment } from '@/environments/environment';
*/
@Provide() protected isCollapse: boolean = false;
/**
* 触发方式,默认click
*
* @type {string}
* @memberof ${srfclassname('${ctrl.codeName}')}
*/
@Provide() trigger: string = 'click';
/**
* 计数器数据
*
......@@ -174,9 +166,6 @@ import { Environment } from '@/environments/environment';
* @memberof ${srfclassname('${ctrl.codeName}')}
*/
protected afterCreated(){
if (Object.is(this.mode, 'horizontal')) {
this.trigger = 'hover';
}
if (this.viewState) {
this.viewStateEvent = this.viewState.subscribe(({ tag, action, data }) => {
if (!Object.is(tag, this.name)) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册