|
@@ -118,7 +118,14 @@
|
|
|
<a-button type="link" class="edit-option-btn" @click="OpenEditStatus">{{editStatus[type]}}</a-button>
|
|
|
</div>
|
|
|
<div class="row">
|
|
|
- <a-input v-model="lengedName" @change="changeLengedName" />
|
|
|
+ <a-textarea :disabled="type == 'Line' "
|
|
|
+ placeholder=""
|
|
|
+ v-model="lengedName"
|
|
|
+ allow-clear
|
|
|
+ @change="changeLengedName"
|
|
|
+ :rows="2"
|
|
|
+ />
|
|
|
+<!-- <a-input v-model="lengedName" @change="changeLengedName" />-->
|
|
|
</div>
|
|
|
<div class="row" v-show="type =='Image'">
|
|
|
<div class="row-tit">字号</div>
|
|
@@ -171,7 +178,14 @@
|
|
|
>{{editStatus[type]}}</a-button>
|
|
|
</div>
|
|
|
<div class="row">
|
|
|
- <a-input v-model="lengedName" @change="changeLengedName" />
|
|
|
+ <a-textarea
|
|
|
+ placeholder=""
|
|
|
+ v-model="lengedName"
|
|
|
+ allow-clear
|
|
|
+ @change="changeLengedName"
|
|
|
+ :rows="2"
|
|
|
+ />
|
|
|
+<!-- <a-input v-model="lengedName" @change="changeLengedName" />-->
|
|
|
</div>
|
|
|
<div class="row">
|
|
|
<div class="row-tit">字号</div>
|
|
@@ -234,7 +248,14 @@
|
|
|
>{{editStatus[type]}}</a-button>
|
|
|
</div>
|
|
|
<div class="row">
|
|
|
- <a-input v-model="lengedName" @change="changeLengedName" />
|
|
|
+ <a-textarea
|
|
|
+ placeholder=""
|
|
|
+ v-model="lengedName"
|
|
|
+ allow-clear
|
|
|
+ @change="changeLengedName"
|
|
|
+ :rows="2"
|
|
|
+ />
|
|
|
+<!-- <a-input v-model="lengedName" @change="changeLengedName" />-->
|
|
|
</div>
|
|
|
<div class="row">
|
|
|
<div class="row-tit">字号</div>
|
|
@@ -608,6 +629,7 @@ export default {
|
|
|
this.lengedName = Item.name;
|
|
|
this.fontSize = Item.font.size;
|
|
|
this.fontColor = Item.color.value;
|
|
|
+ this.lineWidth = Item.lineWidth;
|
|
|
this.borderColor = Item.strokeColor ? Item.strokeColor.value : "";
|
|
|
this.fillColor = Item.fillColor ? Item.fillColor.value : "";
|
|
|
this.itemExplain = "";
|