panhui 4 лет назад
Родитель
Сommit
7c21fb741f
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      src/main/h5/src/views/TrainingInstitution.vue

+ 2 - 1
src/main/h5/src/views/TrainingInstitution.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="page">
     <van-form @submit="submit" :submit-on-enter="false">
-      <van-popover v-model="showPopover">
+      <van-popover v-model="showPopover" trigger="click">
         <template #reference>
           <van-field
             name="企业名称"
@@ -332,6 +332,7 @@ export default {
         .post("/trainingInstitution/save", data, { body: "json" })
         .then(res => {
           this.$toast.clear();
+          window.localStorage.removeItem("trainingInstitution");
           this.$dialog({
             title: "提交成功",
             message: "信息已经提交成功,感谢您的配合。",