zhaoxiaohai 2 rokov pred
rodič
commit
ef75493735
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      select/product/index.js

+ 1 - 1
select/product/index.js

@@ -83,7 +83,7 @@ Page({
 			obj = this.data.radio ? {
 				id: result,
 				item: this.data.list.find(value => value[this.data.idname] == result),
-				value: [this.data.list.find(value => value[this.data.idname] == result), result]
+				value: [this.data.list.find(value => value[this.data.idname] == result)[this.data.showName], result]
 			} : {
 				result,
 				list: result.map(v => this.data.list.find(value => value[this.data.idname] == v)),