Ver Fonte

reactor:对接随手拍安全志愿者;

zhangchong há 10 horas atrás
pai
commit
9946f034b6
1 ficheiros alterados com 3 adições e 1 exclusões
  1. 3 1
      src/views/snapshot/config/safe/components/Safe-add.vue

+ 3 - 1
src/views/snapshot/config/safe/components/Safe-add.vue

@@ -93,9 +93,11 @@ const handleQuery = () => {
 };
 // 获取参数列表
 const queryList = () => {
-	if (!state.ruleForm.safetyTypeId) {
+	if (!state.ruleForm.safetyTypeId) { // 没有选择志愿者类型
 		gridOptions.data = [];
 		state.total = 0;
+		state.ruleForm.citizenIds = [];
+		gridRef.value.clearCheckboxRow();
 		return;
 	}
 	gridOptions.loading = true;