floweditor 修正

This commit is contained in:
maxiaozhe
2023-10-26 09:15:34 +09:00
parent f6d677b51f
commit ead6658455
6 changed files with 392 additions and 136 deletions

View File

@@ -28,7 +28,7 @@
</div>
</template>
<script lang="ts">
import { reactive, ref,defineComponent, defineProps,PropType ,watchEffect} from 'vue'
import { ref,defineComponent, PropType ,watchEffect} from 'vue'
import PropertyList from 'components/right/PropertyList.vue';
import { IActionNode } from 'src/types/ActionTypes';
export default defineComponent({
@@ -47,7 +47,7 @@ import { IActionNode } from 'src/types/ActionTypes';
}
},
emits: [
"update:drawerRight"
'update:drawerRight'
],
setup(props,{emit}) {
const showPanel =ref(props.drawerRight);
@@ -59,12 +59,12 @@ import { IActionNode } from 'src/types/ActionTypes';
const cancel = async() =>{
showPanel.value = false;
emit("update:drawerRight",false )
emit('update:drawerRight',false )
}
const save = async () =>{
showPanel.value=false;
emit("update:drawerRight",false )
emit('update:drawerRight',false )
}
return {