瀏覽代碼

fix:输入框换行逻辑调整

tsz 2 年之前
父節點
當前提交
000981d98b
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/web/staticres/common-module/analysis-filter/js/analysis-filter.js

+ 2 - 1
src/web/staticres/common-module/analysis-filter/js/analysis-filter.js

@@ -5,7 +5,7 @@ var analysisTemp = `
       <van-popover :show-arrow="false" :close-on-click-action="true" :close-on-click-outside="true" v-model="showPopover">
         <template #reference>
           <van-field
-            v-model="filters.pname"
+            :value="filters.pname"
             @input="setProName"
             name="projectName"
             label="项目名称"
@@ -286,6 +286,7 @@ var analysisComponent = {
       this.$emit('click', this.ajaxFilters)
     },
     setProName (data) {
+      this.filters.pname = data
       this.entering = 'project'
       this.getProjectList(data)
     },