fix 主题,代码生成导入修复

This commit is contained in:
yxh 2024-07-22 15:29:44 +08:00
parent a1fceb50b5
commit ee5d816571
2 changed files with 2 additions and 3 deletions

View File

@ -413,10 +413,7 @@ import {
onUnmounted, onUnmounted,
onMounted, onMounted,
getCurrentInstance, getCurrentInstance,
defineComponent,
computed, computed,
reactive,
toRefs,
ref ref
} from 'vue'; } from 'vue';
import { ElMessage } from 'element-plus'; import { ElMessage } from 'element-plus';
@ -650,6 +647,7 @@ onMounted(() => {
onUnmounted(() => { onUnmounted(() => {
proxy.mittBus.off('layoutMobileResize', () => {}); proxy.mittBus.off('layoutMobileResize', () => {});
}); });
defineExpose({openDrawer})
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">

View File

@ -111,6 +111,7 @@ const openDialog = ()=>{
getList() getList()
visible.value = true visible.value = true
} }
defineExpose({openDialog})
</script> </script>
<style scoped> <style scoped>