|
@@ -6,7 +6,6 @@
|
|
|
<input
|
|
<input
|
|
|
type="text"
|
|
type="text"
|
|
|
v-model="contentParam.title"
|
|
v-model="contentParam.title"
|
|
|
- @blur="checkName"
|
|
|
|
|
/>
|
|
/>
|
|
|
<p v-show="tipFlag" style="margin-left: 88px; color: red">
|
|
<p v-show="tipFlag" style="margin-left: 88px; color: red">
|
|
|
{{ tipText }}
|
|
{{ tipText }}
|
|
@@ -256,6 +255,7 @@ export default {
|
|
|
// /(^\s*)|(\s*$)/g,
|
|
// /(^\s*)|(\s*$)/g,
|
|
|
// ""
|
|
// ""
|
|
|
// );
|
|
// );
|
|
|
|
|
+ this.tipFlag = false;
|
|
|
// let include = this.allDataNameList.indexOf(this.contentParam.title);
|
|
// let include = this.allDataNameList.indexOf(this.contentParam.title);
|
|
|
if (!this.contentParam.title) {
|
|
if (!this.contentParam.title) {
|
|
|
this.tipText = "标题不能为空";
|
|
this.tipText = "标题不能为空";
|