fix: fortune type

This commit is contained in:
zzc
2026-01-24 19:17:18 +08:00
parent 0551f2047c
commit f6ae86557e
4 changed files with 7 additions and 10 deletions

View File

@@ -55,12 +55,12 @@
@size-change="handleSizeChange"
/>
<edit ref="edit" @fetch-data="fetchData" />
<batch-image-add ref="batchAdd" :do-add="doAddBatch" @fetch-data="fetchData" />
<batch-image-add ref="batchAdd" :do-add="doAdd" @fetch-data="fetchData" />
</div>
</template>
<script>
import { doDelete, getList, toggleEnable, doMoveUp, doMoveDown } from '@/api/spring/avatar/decor'
import { doDelete, getList, toggleEnable, doMoveUp, doMoveDown, doAdd } from '@/api/spring/avatar/decor'
import Edit from './components/AppManagementEdit'
import BatchImageAdd from '@/components/BatchImageAdd'
@@ -69,6 +69,7 @@
components: { Edit, BatchImageAdd },
data() {
return {
doAdd: doAdd,
list: null,
listLoading: true,
layout: 'total, sizes, prev, pager, next, jumper',
@@ -104,12 +105,6 @@
handleBatchAdd() {
this.$refs['batchAdd'].show()
},
async doAddBatch(fileList) {
console.log(11111, fileList)
// const { msg } = await this.$refs['batchAdd'].doAdd(fileList)
// this.$baseMessage(msg, 'success')
// this.fetchData()
},
handleDelete(row) {
if (row.id) {
this.$baseConfirm('你确定要删除当前项吗', null, async () => {