Forráskód Böngészése

reactor:对接阅卷管理

zhangchong 1 napja
szülő
commit
9e72a1111e
1 módosított fájl, 1 hozzáadás és 8 törlés
  1. 1 8
      src/views/todo/seats/accept/lzAccept.vue

+ 1 - 8
src/views/todo/seats/accept/lzAccept.vue

@@ -423,7 +423,7 @@
 </template>
 
 <script setup lang="ts" name="orderAccept">
-import { computed, defineAsyncComponent, onActivated, onMounted, onUnmounted, reactive, ref, watch } from 'vue';
+import { computed, defineAsyncComponent, onMounted, onUnmounted, reactive, ref, watch } from 'vue';
 import { ElLoading, FormInstance } from 'element-plus';
 import { ElMessage } from 'element-plus';
 import { storeToRefs } from 'pinia';
@@ -1358,13 +1358,6 @@ onMounted(async () => {
 onUnmounted(() => {
 	window.removeEventListener('beforeunload', handleBeforeUnload);
 });
-onActivated(() => {
-	// 判断当前路由参数是否和已有数据匹配,不匹配就重新加载
-	if (state.ruleForm.fromPhone !== route.query.fromTel) {
-		resetForm();
-		loadBaseData();
-	}
-});
 </script>
 <style lang="scss" scoped>
 .check-group {