|
@@ -143,13 +143,13 @@ Component({
|
|
|
getApp().globalData.handleSelect = this.handleSelect.bind(this);
|
|
|
},
|
|
|
/* 处理新增产品 */
|
|
|
- handleSelect(detail) {
|
|
|
+ async handleSelect(detail) {
|
|
|
let that = this;
|
|
|
wx.showModal({
|
|
|
cancelText: getApp().globalData.Language.getMapText('取消'),
|
|
|
confirmText: getApp().globalData.Language.getMapText('确定'),
|
|
|
title: getApp().globalData.Language.getMapText('提示'),
|
|
|
- content: getApp().globalData.Language.modeBoxPrompts([{
|
|
|
+ content: getApp().globalData.Language.joint([{
|
|
|
t: 1,
|
|
|
v: '是否确认添加'
|
|
|
}, {
|
|
@@ -162,6 +162,7 @@ Component({
|
|
|
r: "?"
|
|
|
}]),
|
|
|
complete: (res) => {
|
|
|
+ console.log(res)
|
|
|
if (res.confirm) _Http.basic({
|
|
|
"id": 20230105111003,
|
|
|
"content": {
|