feat: 大屏
This commit is contained in:
@@ -68,6 +68,11 @@ const handleFocus = () => {
|
||||
|
||||
const handleBlur = async () => {
|
||||
focus.value = false
|
||||
// 如果项目名称为空,不提交
|
||||
if (!title.value || !title.value.trim()) {
|
||||
title.value = chartEditStore.getProjectInfo.projectName || ''
|
||||
return
|
||||
}
|
||||
chartEditStore.setProjectInfo(ProjectInfoEnum.PROJECT_NAME, title.value || '')
|
||||
const res = (await updateProjectApi({
|
||||
id: fetchRouteParamsLocation(),
|
||||
|
||||
Reference in New Issue
Block a user