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