fix(mall): 调整 Banner API 到 promotion 目录
parent
2979bd99c1
commit
b3f916639a
|
|
@ -380,6 +380,7 @@ const imagePreview = (imgUrl: string) => {
|
|||
/** 搜索按钮操作 */
|
||||
const handleQuery = () => {
|
||||
getList()
|
||||
getTabsCount() // 搜索后同步刷新 tab 数量(跟随筛选)
|
||||
}
|
||||
|
||||
/** 重置按钮操作 */
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@
|
|||
</template>
|
||||
<script lang="ts" setup>
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import * as BannerApi from '@/api/mall/market/banner'
|
||||
import * as BannerApi from '@/api/mall/promotion/banner'
|
||||
|
||||
const { t } = useI18n() // 国际化
|
||||
const message = useMessage() // 消息弹窗
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@
|
|||
<script lang="ts" setup>
|
||||
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import * as BannerApi from '@/api/mall/market/banner'
|
||||
import * as BannerApi from '@/api/mall/promotion/banner'
|
||||
import BannerForm from './BannerForm.vue'
|
||||
import { createImageViewer } from '@/components/ImageViewer'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue