调整提示
This commit is contained in:
@@ -71,7 +71,7 @@ export default {
|
|||||||
title: "设置标签",
|
title: "设置标签",
|
||||||
content: label,
|
content: label,
|
||||||
editable: true,
|
editable: true,
|
||||||
placeholderText: "请输入标签信息,最多10个字",
|
placeholderText: "请输入标签,最多10字",
|
||||||
success: res => {
|
success: res => {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
if (res.content && res.content.length <= 10) {
|
if (res.content && res.content.length <= 10) {
|
||||||
@@ -84,7 +84,7 @@ export default {
|
|||||||
} else this.handleTag({id, label})
|
} else this.handleTag({id, label})
|
||||||
}).catch(() => this.handleTag({id, label}))
|
}).catch(() => this.handleTag({id, label}))
|
||||||
} else {
|
} else {
|
||||||
this.$u.toast("请输入标签,最多10个字")
|
this.$u.toast("请输入标签,最多10字")
|
||||||
this.handleTag({id, label})
|
this.handleTag({id, label})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user