浏览代码

fix: bug改

jcq 4 天之前
父节点
当前提交
e8722ba82f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/marketing/config/components/ipGroupingEdit.vue

+ 1 - 1
src/views/marketing/config/components/ipGroupingEdit.vue

@@ -70,7 +70,7 @@ const onSubmit = async () => {
 		loading.value = true;
 		await addGroup({
 			...state.ruleForm,
-			groupType: state.type === 'ip' ? 1 : 2,
+			groupType: props.type === 'ip' ? 1 : 2,
 		});
 		useMessage().success(t('common.addSuccessText'));
 		emit('onsuccess');