<script>
  import { Panel } from 'view-design';
  import FunctionComponent from '../../../libs/utils/FunctionComponent'
  export default FunctionComponent(Panel,'ht-base-collapse-panel', 'i', {
      preDispose(ctx){
          if(ctx.props.isDisabled || ctx.props.isDisabled === ''){
              //this指向自定义属性对象，如果使用箭头函数请注意this指向的改变
              console.log(this.class)
              this.class.push('ht-base-collapse-is-disabled')
          }
      }
  })

</script>

