Browse Source

chore: rename CustomTopicFormModal to TopicFormModal

main
刘凯 1 year ago
parent
commit
a9e97faf6e
  1. 0
      src/views/product/components/TopicFormModal.vue
  2. 4
      src/views/product/components/TopicManage.vue

0
src/views/product/components/CustomTopicFormModal.vue → src/views/product/components/TopicFormModal.vue

4
src/views/product/components/TopicManage.vue

@ -3,7 +3,7 @@ import { Alert, Segmented } from 'ant-design-vue'
import { computed, ref, watch } from 'vue'
import { useRoute } from 'vue-router'
import { PlusOutlined } from '@ant-design/icons-vue'
import CustomTopicFormModal from './CustomTopicFormModal.vue'
import TopicFormModal from './TopicFormModal.vue'
import type { Topic } from '@/api/product/types'
import { TopicType } from '@/api/product/types'
import { BasicTable, TableAction, useTable } from '@/components/Table'
@ -128,6 +128,6 @@ async function handleDelete(id: string) {
</template>
</BasicTable>
<CustomTopicFormModal @register="registerModal" @success="reload" />
<TopicFormModal @register="registerModal" @success="reload" />
</div>
</template>

Loading…
Cancel
Save