floweditor 修正
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user