feat:【antd】【mp】mp 的代码评审(menu)
This commit is contained in:
@@ -37,6 +37,7 @@ const menu = computed({
|
||||
},
|
||||
});
|
||||
const showNewsDialog = ref(false);
|
||||
// TODO @hw:这个 reset 还有用么?
|
||||
const hackResetReplySelect = ref(false);
|
||||
const isLeave = computed<boolean>(() => !(menu.value.children?.length > 0));
|
||||
|
||||
|
||||
@@ -2,3 +2,4 @@ export { default as MenuEditor } from './editor.vue';
|
||||
export { default as MenuPreviewer } from './previewer.vue';
|
||||
export type * from './types';
|
||||
export * from './types';
|
||||
// TODO @hw:这个貌似没用,可以考虑删除哈。modules 里,直接用就完事啦!
|
||||
@@ -193,6 +193,8 @@ function onChildDragEnd({ newIndex }: { newIndex: number }) {
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
/** todo @hw:antd 和 ele 这里的写法,看看能不能统一; */
|
||||
|
||||
.draggable-ghost {
|
||||
background: #f7fafc;
|
||||
border: 1px solid #4299e1;
|
||||
|
||||
Reference in New Issue
Block a user