review:【antd/ele】【MP】代码迁移的 review
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import type { VxeTableGridOptions } from '#/adapter/vxe-table';
|
||||
import type { MpMaterialApi } from '#/api/mp/material';
|
||||
|
||||
import { computed, provide, ref } from 'vue';
|
||||
import { provide, ref } from 'vue';
|
||||
|
||||
import { useAccess } from '@vben/access';
|
||||
import { confirm, DocAlert, Page } from '@vben/common-ui';
|
||||
|
||||
@@ -493,6 +493,7 @@ watch(
|
||||
</template>
|
||||
</VoiceGrid>
|
||||
</div>
|
||||
|
||||
<!-- 类型:video -->
|
||||
<div v-else-if="props.type === 'video'">
|
||||
<VideoGrid>
|
||||
@@ -507,6 +508,7 @@ watch(
|
||||
</template>
|
||||
</VideoGrid>
|
||||
</div>
|
||||
|
||||
<!-- 类型:news -->
|
||||
<div v-else-if="props.type === 'news'" class="news-grid-wrapper">
|
||||
<NewsGrid>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import type { VxeTableGridOptions } from '#/adapter/vxe-table';
|
||||
import type { MpMaterialApi } from '#/api/mp/material';
|
||||
|
||||
import { computed, provide, ref } from 'vue';
|
||||
import { provide, ref } from 'vue';
|
||||
|
||||
import { useAccess } from '@vben/access';
|
||||
import { confirm, DocAlert, Page } from '@vben/common-ui';
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// TODO @xingyu:【待讨论】是不是把 user select 放到 user 目录的 components 下,dept select 放到 dept 目录的 components 下
|
||||
export { default as DeptSelectModal } from './dept-select-modal.vue';
|
||||
export { default as DeptSelectModal } from './select-modal.vue';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// TODO @芋艿:是否有更好的组织形式?!
|
||||
<script lang="ts" setup>
|
||||
// TODO @jason:看看这个有没办法,整体代码的文件顺序,注释风格等,和 /Users/yunai/Java/yudao-ui-admin-vben-v5/apps/web-antd/src/views/system/dept/components/select-modal.vue 一致。原因是:好维护~
|
||||
import type { SystemDeptApi } from '#/api/system/dept';
|
||||
|
||||
import { nextTick, ref } from 'vue';
|
||||
@@ -1 +1 @@
|
||||
export { default as UserSelectModal } from './user-select-modal.vue';
|
||||
export { default as UserSelectModal } from './select-modal.vue';
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
// TODO @芋艿:是否有更好的组织形式?!
|
||||
// TODO @xingyu:你感觉,这个放到每个 system、infra 模块下,然后新建一个 components,表示每个模块,有一些共享的组件?然后,全局只放通用的(无业务含义的),可以哇?
|
||||
// TODO @jason:看看这个有没办法,整体代码的文件顺序,注释风格等,和 /Users/yunai/Java/yudao-ui-admin-vben-v5/apps/web-antd/src/views/system/user/components/select-modal.vue 一致。原因是:好维护~
|
||||
import type { SystemDeptApi } from '#/api/system/dept';
|
||||
import type { SystemUserApi } from '#/api/system/user';
|
||||
|
||||
Reference in New Issue
Block a user