소스 검색

fix: 编辑项目标题,支持回车

tnt group 3 년 전
부모
커밋
c48b7ddc10
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/views/chart/ContentHeader/headerTitle/index.vue

+ 1 - 0
src/views/chart/ContentHeader/headerTitle/index.vue

@@ -22,6 +22,7 @@
       round
       placeholder="请输入项目名称"
       v-model:value.trim="title"
+      @keyup.enter="handleBlur"
       @blur="handleBlur"
    ></n-input>
   </n-space>