feat(系统公告管理): 解除描述的字数限制
This commit is contained in:
parent
bb6dadcde3
commit
7192f09428
@ -221,14 +221,7 @@
|
|||||||
v-model.trim="form.description"
|
v-model.trim="form.description"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
:rows="8"
|
:rows="8"
|
||||||
maxlength="300"
|
|
||||||
@input="descInput"
|
|
||||||
/>
|
/>
|
||||||
<span
|
|
||||||
class="numberV"
|
|
||||||
style="position: absolute; right: 10px;bottom: 0;"
|
|
||||||
>{{ txtVal }}/300</span
|
|
||||||
>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button type="primary" @click="submitForm()">保存</el-button>
|
<el-button type="primary" @click="submitForm()">保存</el-button>
|
||||||
@ -272,7 +265,6 @@ export default {
|
|||||||
announcementArray,
|
announcementArray,
|
||||||
productConfigShowcase,
|
productConfigShowcase,
|
||||||
pickerOptions,
|
pickerOptions,
|
||||||
txtVal: 0,
|
|
||||||
activeGiftId: "",
|
activeGiftId: "",
|
||||||
pushTextHistoryLoading: false,
|
pushTextHistoryLoading: false,
|
||||||
pushTextHistoryVisible: false,
|
pushTextHistoryVisible: false,
|
||||||
@ -468,9 +460,7 @@ export default {
|
|||||||
handleClose() {
|
handleClose() {
|
||||||
this.formVisible = false;
|
this.formVisible = false;
|
||||||
},
|
},
|
||||||
descInput() {
|
|
||||||
this.txtVal = this.form.description.length;
|
|
||||||
},
|
|
||||||
httpRequest(file) {
|
httpRequest(file) {
|
||||||
const that = this;
|
const that = this;
|
||||||
that.uploadLoading = true;
|
that.uploadLoading = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user