Răsfoiți Sursa

考级机构

panhui 4 ani în urmă
părinte
comite
7c21fb741f
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  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: "信息已经提交成功,感谢您的配合。",