Commit 55809bc8 authored by 李维's avatar 李维

调整文字对齐方式可配置

parent 89550a46
......@@ -1911,7 +1911,13 @@ export default class SceneComponent extends MyCocosSceneComponent {
inputLabel.y = rect.height / 2;
inputLabel.width = rect.width;
inputLabel.height = rect.height;
// 文字根据设置是否居左对齐
if(contentData.textAlignLeft) {
labelCom.horizontalAlign = 0;
} else {
labelCom.horizontalAlign = 1;
}
// 超出宽度换行
labelCom.overflow = 3;
currentInputText = text;
......@@ -2039,8 +2045,20 @@ export default class SceneComponent extends MyCocosSceneComponent {
let text = await this.asyncShowKeyboardModal(lastText);
const inputLabel = this.newInputTextNode(text, 0);
const labelCom = inputLabel.getComponent(cc.Label);
inputLabel.x = rect.width / 2;
inputLabel.y = rect.height / 2;
inputLabel.width = rect.width;
inputLabel.height = rect.height;
// 文字根据设置是否居左对齐
if(option.textAlignLeft) {
labelCom.horizontalAlign = 0;
} else {
labelCom.horizontalAlign = 1;
}
// 超出宽度换行
labelCom.overflow = 3;
result.detail.currentInputText = text;
// 更新清除方法
......
export const defaultData = {"header_image_url":"http://teach.cdn.ireadabc.com/64ef29f4a806e29ecb32fe1db7c98dfb.jpg","footer_image_url":"http://teach.cdn.ireadabc.com/665e4c3e6a80563b4c33dd7bbcd18014.jpg","bgItem":{"url":"http://staging-teach.cdn.ireadabc.com/4425cebcf3aa2eba93f8a485358badf5.jpg","rect":{"x":0,"y":612.1666666666665,"width":1550,"height":3771.666666666667}},"hotZoneItemArr":[{"index":0,"itemType":"rect","itemName":"4-2","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":1998.83,"width":618,"height":42}},{"index":1,"itemType":"rect","itemName":"4-3","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2045.55,"width":618,"height":42}},{"index":2,"itemType":"rect","itemName":"4-4","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2092.26,"width":618,"height":42}},{"index":3,"itemType":"rect","itemName":"4-5","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2138.98,"width":618,"height":42}},{"index":4,"itemType":"rect","itemName":"4-6","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2185.69,"width":618,"height":42}},{"index":5,"itemType":"rect","itemName":"4-7","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2232.4,"width":618,"height":42}},{"index":6,"itemType":"rect","itemName":"4-8","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2279.12,"width":618,"height":42}},{"index":7,"itemType":"rect","itemName":"4-9","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2325.83,"width":618,"height":42}},{"index":8,"itemType":"rect","itemName":"test-video","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":262,"y":1844.83,"width":46,"height":46}},{"index":9,"itemType":"rect","itemName":"hutu ","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":120,"y":196.83,"width":1334,"height":388}},{"index":10,"itemType":"rect","itemName":"cs","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":633,"y":1375.83,"width":272,"height":272}}],"hotZoneConfigArr":[{"hotZoneType":"12","linkHotZoneIndex":-1,"audio_url":"","score":"0","unselectedStyle":"none","selectedStyle":"border","rightOrWrongStyleType":"symbol","inputText":"","keyWordMatch":false,"isCaseInsensitive":true,"openAnswer":false,"useSelectOptionList":false,"keyWordMatchInOrder":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectOptionList":[],"contentList":[{"uuid":"b9480a65-bf53-4fcf-9b27-fb775d2abbe6","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"selectHotZoneIndex":0,"inputText":"1 | 2 | 3","keyWordMatch":true},{"uuid":"c7c9d9f2-2e0a-43a9-8a80-8def23430e66","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"2","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":1},{"uuid":"79a0666e-ae9b-4c58-a4b5-45d30cab4978","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"3","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":2},{"uuid":"1e4f9710-e7bb-458b-a065-22650c688465","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"4","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":3},{"uuid":"a924e16e-2c8b-4495-b743-450683849529","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"5","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":4},{"uuid":"aff3a858-e189-41a9-86a7-de300326ecd1","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"6","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":5},{"uuid":"1f0dc34e-cf88-47d9-9f53-b9609a390900","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"7","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":6},{"uuid":"a4791aec-2bda-486b-a962-46bebd07641d","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"8","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":7}]},{"hotZoneType":"13","linkHotZoneIndex":8,"audio_url":"","video_url":"http://staging-teach.cdn.ireadabc.com/2ef06de470293f307b60513e1275b27a.mp4","score":"0","unselectedStyle":"none","selectedStyle":"border","rightOrWrongStyleType":"symbol","inputText":"","keyWordMatch":false,"isCaseInsensitive":false,"openAnswer":false,"useSelectOptionList":false,"keyWordMatchInOrder":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectOptionList":[],"contentList":[]},{"hotZoneType":"14","linkHotZoneIndex":9,"audio_url":"","video_url":"","score":"0","unselectedStyle":"none","selectedStyle":"border","rightOrWrongStyleType":"symbol","inputText":"","keyWordMatch":false,"isCaseInsensitive":false,"openAnswer":false,"useSelectOptionList":false,"keyWordMatchInOrder":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectOptionList":[],"contentList":[]},{"hotZoneType":"5","linkHotZoneIndex":10,"audio_url":"","video_url":"","score":"0","unselectedStyle":"none","selectedStyle":"border","rightOrWrongStyleType":"symbol","inputText":"3","keyWordMatch":false,"isCaseInsensitive":false,"openAnswer":false,"useSelectOptionList":false,"keyWordMatchInOrder":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectOptionList":[],"contentList":[]}],"scoreConfigArr":[{"linkHotZoneIndex":-1,"linkHotZoneIndexArr":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]}],"alignMode":"left","ratingSystem":"4","basicScore":"90"}
\ No newline at end of file
export const defaultData = {"header_image_url":"http://teach.cdn.ireadabc.com/64ef29f4a806e29ecb32fe1db7c98dfb.jpg","footer_image_url":"http://teach.cdn.ireadabc.com/665e4c3e6a80563b4c33dd7bbcd18014.jpg","bgItem":{"url":"http://staging-teach.cdn.ireadabc.com/4425cebcf3aa2eba93f8a485358badf5.jpg","rect":{"x":0,"y":612.1666666666665,"width":1550,"height":3771.666666666667}},"hotZoneItemArr":[{"index":0,"itemType":"rect","itemName":"4-2","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":1998.83,"width":618,"height":42}},{"index":1,"itemType":"rect","itemName":"4-3","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2045.55,"width":618,"height":42}},{"index":2,"itemType":"rect","itemName":"4-4","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2092.26,"width":618,"height":42}},{"index":3,"itemType":"rect","itemName":"4-5","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2138.98,"width":618,"height":42}},{"index":4,"itemType":"rect","itemName":"4-6","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2185.69,"width":618,"height":42}},{"index":5,"itemType":"rect","itemName":"4-7","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2232.4,"width":618,"height":42}},{"index":6,"itemType":"rect","itemName":"4-8","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2279.12,"width":618,"height":42}},{"index":7,"itemType":"rect","itemName":"4-9","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":819,"y":2325.83,"width":618,"height":42}},{"index":8,"itemType":"rect","itemName":"test-video","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":262,"y":1844.83,"width":46,"height":46}},{"index":9,"itemType":"rect","itemName":"hutu ","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":120,"y":196.83,"width":1334,"height":388}},{"index":10,"itemType":"rect","itemName":"cs","fontSize":50,"fontName":"BRLNSR_1","fontColor":"#8f3758","fontScale":1.2109375,"imgScale":1,"mapScale":1.2109375,"rect":{"x":633,"y":1375.83,"width":272,"height":272}}],"hotZoneConfigArr":[{"hotZoneType":"12","linkHotZoneIndex":-1,"audio_url":"","score":"0","unselectedStyle":"none","selectedStyle":"border","rightOrWrongStyleType":"symbol","inputText":"","keyWordMatch":false,"isCaseInsensitive":true,"openAnswer":false,"useSelectOptionList":false,"keyWordMatchInOrder":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectOptionList":[],"contentList":[{"uuid":"b9480a65-bf53-4fcf-9b27-fb775d2abbe6","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"selectHotZoneIndex":0,"inputText":"1 | 2 | 3","keyWordMatch":true},{"uuid":"c7c9d9f2-2e0a-43a9-8a80-8def23430e66","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"2","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":1},{"uuid":"79a0666e-ae9b-4c58-a4b5-45d30cab4978","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"3","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":2},{"uuid":"1e4f9710-e7bb-458b-a065-22650c688465","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"4","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":3},{"uuid":"a924e16e-2c8b-4495-b743-450683849529","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"5","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":4},{"uuid":"aff3a858-e189-41a9-86a7-de300326ecd1","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"6","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":5},{"uuid":"1f0dc34e-cf88-47d9-9f53-b9609a390900","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"7","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":6},{"uuid":"a4791aec-2bda-486b-a962-46bebd07641d","text":"","optionShowText":"","image_url":"","hotZoneIndex":null,"score":"1","isCorrect":false,"isCheck":false,"linkedShowText":"","selectStartHotZoneIndex":null,"selectEndHotZoneIndex":null,"selectEndHotZoneShowIndex":null,"inputText":"wefwef wefwef wefwe wefwef wefwef wefwe wefwef wefwef wefwe wefwef wefwef wefwe wefwef wefwef wefwe","keyWordMatch":false,"keyWordMatchInOrder":false,"isCaseInsensitive":false,"openAnswer":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectHotZoneIndex":7,"textAlignLeft":true}]},{"hotZoneType":"13","linkHotZoneIndex":8,"audio_url":"","video_url":"http://staging-teach.cdn.ireadabc.com/2ef06de470293f307b60513e1275b27a.mp4","score":"0","unselectedStyle":"none","selectedStyle":"border","rightOrWrongStyleType":"symbol","inputText":"","keyWordMatch":false,"isCaseInsensitive":false,"openAnswer":false,"useSelectOptionList":false,"keyWordMatchInOrder":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectOptionList":[],"contentList":[]},{"hotZoneType":"14","linkHotZoneIndex":9,"audio_url":"","video_url":"","score":"0","unselectedStyle":"none","selectedStyle":"border","rightOrWrongStyleType":"symbol","inputText":"","keyWordMatch":false,"isCaseInsensitive":false,"openAnswer":false,"useSelectOptionList":false,"keyWordMatchInOrder":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectOptionList":[],"contentList":[]},{"hotZoneType":"5","linkHotZoneIndex":10,"audio_url":"","video_url":"","score":"0","unselectedStyle":"none","selectedStyle":"border","rightOrWrongStyleType":"symbol","inputText":"3re","keyWordMatch":false,"isCaseInsensitive":false,"openAnswer":false,"useSelectOptionList":false,"keyWordMatchInOrder":false,"capitalizedFirstLetter":false,"notAdaptContraction":false,"selectOptionList":[],"contentList":[],"textAlignLeft":true}],"scoreConfigArr":[{"linkHotZoneIndex":-1,"linkHotZoneIndexArr":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]}],"alignMode":"left","ratingSystem":"4","basicScore":"90"}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -449,6 +449,7 @@
<label nz-checkbox [(ngModel)]="data.openAnswer" (ngModelChange)="save()" style="margin-left: 10px;">开放性答案</label>
<label nz-checkbox [(ngModel)]="data.capitalizedFirstLetter" (ngModelChange)="save()" style="margin-left: 10px;">首字母大写</label>
<label nz-checkbox [(ngModel)]="data.notAdaptContraction" (ngModelChange)="save()" style="margin-left: 10px;">不进行缩写适配</label>
<label nz-checkbox [(ngModel)]="data.textAlignLeft" (ngModelChange)="save()" style="margin-left: 10px;">文字靠左对齐</label>
</div>
</td>
<td nzWidth="100px" >
......@@ -513,6 +514,7 @@
<label nz-checkbox [(ngModel)]="it.openAnswer" (ngModelChange)="save()" style="margin-left: 10px;">开放性答案</label>
<label nz-checkbox [(ngModel)]="it.capitalizedFirstLetter" (ngModelChange)="save()" style="margin-left: 10px;">首字母大写</label>
<label nz-checkbox [(ngModel)]="it.notAdaptContraction" (ngModelChange)="save()" style="margin-left: 10px;">不进行缩写适配</label>
<label nz-checkbox [(ngModel)]="it.textAlignLeft" (ngModelChange)="save()" style="margin-left: 10px;">文字靠左对齐</label>
</div>
<div *ngIf="it.hotZoneType != '' && it.hotZoneType != CROSSWORD_PUZZLE && it.hotZoneType != HOT_ZONE_RADIO && it.hotZoneType != HOT_ZONE_CHECKBOX && it.hotZoneType != CONNECTION && it.hotZoneType != TEXT_SELECT && it.hotZoneType != RIGHT_OR_WRONG && it.hotZoneType != TEXTINPUT_GROUP" style="margin: 10px 10px;">
......
......@@ -141,6 +141,7 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy, AfterViewIni
keyWordMatchInOrder: false,
capitalizedFirstLetter: false,
notAdaptContraction: false,
textAlignLeft: false,
selectOptionList: [
],
......@@ -250,6 +251,7 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy, AfterViewIni
openAnswer: false, // 开放性答案 [文字输入组]
capitalizedFirstLetter: false, // 首字母大写 [文字输入组]
notAdaptContraction: false, // 不进行缩写适配 [文字输入组]
textAlignLeft: false, // 文字居左对齐 [文字输入组]
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment