Browse Source

chore: 😉取消新增注册方案时的默认选中项

喵你个旺呀 1 year ago
parent
commit
536beb142f
1 changed files with 0 additions and 6 deletions
  1. 0 6
      Web/src/views/system/userRegWay/component/editRegWay.vue

+ 0 - 6
Web/src/views/system/userRegWay/component/editRegWay.vue

@@ -112,12 +112,6 @@ const cascaderConfig = {
 // 打开弹窗
 const openDialog = async (row: any) => {
 	state.ruleForm = JSON.parse(JSON.stringify(row));
-	if (!state.ruleForm?.id) {
-		state.ruleForm.accountType = AccountTypeEnum.NUMBER_666;
-		state.ruleForm.roleId = <number>state.roleData[0].id;
-		state.ruleForm.orgId = <number>state.orgData[0].id;
-		state.ruleForm.posId = <number>state.posData[0].id;
-	}
 	state.isShowDialog = true;
 	ruleFormRef.value?.resetFields();
 };