|
@@ -45,7 +45,7 @@
|
|
</a-select>
|
|
</a-select>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
<a-form-model-item label="*知识标题:" prop="titles">
|
|
<a-form-model-item label="*知识标题:" prop="titles">
|
|
- <a-input v-model="knowledgeForm.titles" placeholder="请输入" :disabled="!!pkId" :maxLength="40" @change='titlesChange'>
|
|
|
|
|
|
+ <a-input v-model="knowledgeForm.titles" placeholder="请输入" :disabled="!!pkId" :maxLength="60" @change='titlesChange'>
|
|
<div v-if="!pkId" slot="suffix" style="color: #C0C0C0;">
|
|
<div v-if="!pkId" slot="suffix" style="color: #C0C0C0;">
|
|
{{ titlesNum }}
|
|
{{ titlesNum }}
|
|
</div>
|
|
</div>
|
|
@@ -304,7 +304,7 @@ export default {
|
|
widthVar: 800,
|
|
widthVar: 800,
|
|
organizationIdsInfo: {},
|
|
organizationIdsInfo: {},
|
|
isAuth: false,
|
|
isAuth: false,
|
|
- titlesNum: 40
|
|
|
|
|
|
+ titlesNum: 60
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
@@ -427,7 +427,7 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
// title修改限制数量
|
|
// title修改限制数量
|
|
titlesChange(){
|
|
titlesChange(){
|
|
- this.titlesNum=40-this.knowledgeForm.titles.length
|
|
|
|
|
|
+ this.titlesNum=60-this.knowledgeForm.titles.length
|
|
},
|
|
},
|
|
handleAuthClickshow() {
|
|
handleAuthClickshow() {
|
|
if(this.isAuth) {
|
|
if(this.isAuth) {
|