fix: 规则编排自测与组件替换

This commit is contained in:
leiqiaochu 2023-03-15 15:51:55 +08:00
parent 2aeaae3a50
commit c830357640
2 changed files with 4 additions and 2 deletions

View File

@ -53,9 +53,8 @@ const props = defineProps({
const productList = ref<Record<string, any>[]>([]);
const loading = ref<boolean>(false);
const formRef = ref();
let id = ref<string>();
const modelRef = ref();
modelRef.value = props.data
modelRef.value = {...props.data};
const rules = {
name: [
{

View File

@ -245,6 +245,9 @@ const getActions = (
title: '查看',
},
icon: 'EyeOutlined',
onClick: () => {
openRuleEditor(data);
}
},
{
key: 'action',