no message
							parent
							
								
									9c2f5afc56
								
							
						
					
					
						commit
						e830796e40
					
				| 
						 | 
				
			
			@ -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() },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue