update
This commit is contained in:
		@@ -134,7 +134,7 @@ export default {
 | 
			
		||||
        type: 'warning'
 | 
			
		||||
      }).then(() => {
 | 
			
		||||
        this.$http.delete(
 | 
			
		||||
          `${this.mixinViewModuleOptions.deleteURL}${this.mixinViewModuleOptions.deleteIsBatch ? '' : '/' + id}`,
 | 
			
		||||
          this.$http.adornUrl(`${this.mixinViewModuleOptions.deleteURL}${this.mixinViewModuleOptions.deleteIsBatch ? '' : '/' + id}`),
 | 
			
		||||
          this.mixinViewModuleOptions.deleteIsBatch ? {
 | 
			
		||||
            'data': id ? [id] : this.dataListSelections.map(item => item[this.mixinViewModuleOptions.deleteIsBatchKey])
 | 
			
		||||
          } : {}
 | 
			
		||||
 
 | 
			
		||||
@@ -162,7 +162,7 @@ export default {
 | 
			
		||||
					if (!valid) {
 | 
			
		||||
						return false
 | 
			
		||||
					}
 | 
			
		||||
					this.$http[!this.dataForm.id ? 'post' : 'put']('/sys/menu', this.dataForm)
 | 
			
		||||
					this.$http[!this.dataForm.id ? 'post' : 'put'](this.$http.adornUrl('/sys/menu'), this.dataForm)
 | 
			
		||||
						.then(({ data: res }) => {
 | 
			
		||||
							if (res.code !== 0) {
 | 
			
		||||
								return this.$message.error(res.msg)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user