mirror of
https://github.com/dataease/dataease.git
synced 2026-05-21 04:08:10 +08:00
feat:仪表板主题名称双击可修改
This commit is contained in:
@@ -1315,7 +1315,7 @@ export default {
|
||||
matrix: 'matrix',
|
||||
suspension: 'suspension',
|
||||
subject_no_edit: 'System Subject Can Not Edit',
|
||||
subject_name_not_null: 'Subject Name Can Not Be Null'
|
||||
subject_name_not_null: 'Subject Name Can Not Be Null And Less Than 20 charts'
|
||||
},
|
||||
plugin: {
|
||||
local_install: 'Local installation',
|
||||
|
||||
@@ -1318,7 +1318,7 @@ export default {
|
||||
matrix: '矩阵分布',
|
||||
suspension: '悬浮',
|
||||
subject_no_edit: '系统主题不能修改',
|
||||
subject_name_not_null: '主题名称不能为空'
|
||||
subject_name_not_null: '主题名称需要1~20字符'
|
||||
},
|
||||
plugin: {
|
||||
local_install: '本地安裝',
|
||||
|
||||
@@ -1323,7 +1323,7 @@ export default {
|
||||
matrix: '矩阵分布',
|
||||
suspension: '悬浮',
|
||||
subject_no_edit: '系统主题不能修改',
|
||||
subject_name_not_null: '主题名称不能为空'
|
||||
subject_name_not_null: '主题名称需要1~20字符'
|
||||
},
|
||||
plugin: {
|
||||
local_install: '本地安装',
|
||||
|
||||
@@ -222,7 +222,7 @@ export default {
|
||||
},
|
||||
// 当输入框失去焦点时不显示输入框
|
||||
loseFocus() {
|
||||
if (this.subjectItem.name && this.subjectItem.name.length > 0) {
|
||||
if (this.subjectItem.name && this.subjectItem.name.length > 0 && this.subjectItem.name.length < 20) {
|
||||
const request = {
|
||||
id: this.subjectItem.id,
|
||||
name: this.subjectItem.name
|
||||
|
||||
Reference in New Issue
Block a user