|
@@ -299,6 +299,13 @@ const temAKey = ref(0);
|
|
|
const onEditTrigger = (data: any) => {
|
|
|
// 辅助更新代码块数据
|
|
|
// temCKey.value = Math.random();
|
|
|
+ data.status?.forEach((item: any) => {
|
|
|
+ item.conditions?.forEach((c: any) => {
|
|
|
+ if (!c.keyLabel) {
|
|
|
+ c.keyLabel = c.key;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
temAKey.value = Math.random();
|
|
|
trigger.value = data;
|
|
|
drawer.header = data.name;
|