提交 8d381b57 编写于 作者: zhujiamin's avatar zhujiamin

补充表单分组界面面行为 --fix2

上级 8e814d58
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
<ion-icon v-show="titleBarCloseMode !== 0" class="group-collapse" :name="collapseContant ? 'chevron-back-outline' : 'chevron-down-outline'"></ion-icon> <ion-icon v-show="titleBarCloseMode !== 0" class="group-collapse" :name="collapseContant ? 'chevron-back-outline' : 'chevron-down-outline'"></ion-icon>
<div :class="{'actiongroup':true,'closemode':titleBarCloseMode !== 0}" v-show="isHaveUiActionGroup"> <div :class="{'actiongroup':true,'closemode':titleBarCloseMode !== 0}" v-show="isHaveUiActionGroup">
<div class="groupbox" v-for="item in uiActionGroup.details" :key="item.index" @click="doUIAction($event,item.name)"> <div class="groupbox" v-for="item in uiActionGroup.details" :key="item.index" @click="doUIAction($event,item.name)">
<ion-icon :name="item.icon" v-show="item.isShowIcon"/> <ion-icon :name="item.icon" v-show="item.isShowIcon && item.visabled"/>
<van-button plain type="info" v-show="item.isShowCaption">{{item.caption}}</van-button> <van-button plain type="info" v-show="item.isShowCaption && item.visabled">{{item.caption}}</van-button>
</div> </div>
</div> </div>
</ion-item-divider> </ion-item-divider>
...@@ -238,8 +238,8 @@ export default class AppFormGroup extends Vue { ...@@ -238,8 +238,8 @@ export default class AppFormGroup extends Vue {
* *
* @memberof AppFormGroup * @memberof AppFormGroup
*/ */
@Watch('data') @Watch('data',{ deep: true })
onSrfupdatedateChange(newVal: any, oldVal: any) { onDataChange(newVal: any, oldVal: any) {
if((newVal !== oldVal) && this.uiActionGroup.details.length >0){ if((newVal !== oldVal) && this.uiActionGroup.details.length >0){
this.calcActionItemAuthState(newVal,this.uiActionGroup.details,this.uiService); this.calcActionItemAuthState(newVal,this.uiActionGroup.details,this.uiService);
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册