Преглед изворни кода

版本信息换行提示修改

liucf пре 6 година
родитељ
комит
5c613abf43
1 измењених фајлова са 5 додато и 2 уклоњено
  1. 5 2
      src/components/icss/VersionDesc.vue

+ 5 - 2
src/components/icss/VersionDesc.vue

@@ -45,7 +45,7 @@
         <el-form ref="form" :model="form" :rules="showDesc?{}:rules" label-width="65px" class="add-desc-form">
           <p class="top">
             {{minTitle}}
-            <span class="tip">(&lt;br /&gt;代表换行符,如果需要可在需要处输入或者点击回车键)</span>
+            <span v-if="tip" class="tip">(&lt;br /&gt;代表换行符,如果需要可在需要处输入或者点击回车键)</span>
             <img src="../../images/close.png" height="12" width="12" @click="cancel">
           </p>
           <el-form-item label="标题:" prop="title">
@@ -114,7 +114,8 @@
         minTitle:'',
         showBox:false,
         modiId:null,
-        showDesc:false
+        showDesc:false,
+        tip:true
       }
     },
     created(){
@@ -261,12 +262,14 @@
         this.form.description = "";
         this.modiId = null;
         this.minTitle= "";
+        this.tip = true;
       },
       cancel(){
         this.reset();
       },
       getDetail(item){//明细
         this.minTitle='说明明细';
+        this.tip = false;
         this.showDesc = true;
         this.showBox = true;
         this.form.title = item.title;