no message

main
HUOJIN\92525 2025-09-02 16:39:35 +08:00
parent 9c2f5afc56
commit e830796e40
1 changed files with 7 additions and 1 deletions

View File

@ -42,7 +42,7 @@
class="upload-demo"
slot="right"
style="float: right;padding-left: 5px"
action="/api/item/importItem"
:action="baseApi +'/api/item/importItem' "
:file-list="fileList"
:on-error="handleErr"
:on-success=" (response, file, fileList) => {
@ -169,6 +169,7 @@ import crudOperation from '@crud/CRUD.operation'
import udOperation from '@crud/UD.operation'
import pagination from '@crud/Pagination'
import { getToken } from '@/utils/auth'
import { mapGetters } from 'vuex'
const defaultForm = { id: null }
export default {
@ -187,6 +188,11 @@ export default {
}
})
},
computed: {
...mapGetters([
'baseApi'
])
},
data() {
return {
headers: { 'Authorization': getToken() },