|
|
@@ -24,15 +24,11 @@ let projDisplayView = {
|
|
|
if (this.datas == null) {
|
|
|
return;
|
|
|
}
|
|
|
- // let autoHeight = $('#autoHeight').prop('checked');
|
|
|
- let billsAutoHeight = $("#billsAutoHeight").prop("checked");
|
|
|
- let rationAutoHeight = $("#rationAutoHeight").prop("checked");
|
|
|
- let disPlayMainMaterial = $('#disPlayMainMaterial').prop('checked');
|
|
|
- if (this.datas.rationAutoHeight !== rationAutoHeight || this.datas.billsAutoHeight !== billsAutoHeight || this.datas.disPlayMainMaterial !== disPlayMainMaterial) {
|
|
|
+ let billsAutoHeight = $("#billsAutoHeight").prop("checked");
|
|
|
+ let rationAutoHeight = $("#rationAutoHeight").prop("checked");
|
|
|
+ if (this.datas.rationAutoHeight !== rationAutoHeight || this.datas.billsAutoHeight !== billsAutoHeight) {
|
|
|
this.datas.billsAutoHeight = billsAutoHeight;
|
|
|
this.datas.rationAutoHeight = rationAutoHeight;
|
|
|
- this.datas.disPlayMainMaterial = disPlayMainMaterial;
|
|
|
- // let updateData = {sourceType: 'properties', updateType: 'update', updateData: {ID: projectID, 'property.displaySetting':this.datas}};
|
|
|
properties['property.displaySetting'] = this.datas;
|
|
|
}
|
|
|
}
|