Răsfoiți Sursa

偏后与取消

shish 1 an în urmă
părinte
comite
498f01a6da
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      ghs/src/views/book/itemCustom.vue

+ 1 - 1
ghs/src/views/book/itemCustom.vue

@@ -161,7 +161,7 @@ export default {
 		goUp(info){
 			let that = this
 			this.$prompt('请输入数量','提示',{confirmButtonText:'确定',cancelButtonText:'取消',inputPattern:/^\+?[1-9][0-9]*$/,inputErrorMessage:'数量错误'}).then(({value}) => {
-				this.$service.bookItemCustom.goOn({ id:info.id}).then(data => {
+				this.$service.bookItemCustom.goOn({ id:info.id,num:value}).then(data => {
 					that.$message.success('操作成功')
 					setTimeout(()=>{
 						that.app.refresh({itemId:this.itemId,customId:this.customId})