17 lines
433 B
JavaScript
17 lines
433 B
JavaScript
|
export default {
|
||
|
// 确认窗体
|
||
|
confirm(content) {
|
||
|
return new Promise((resolve, reject) => {
|
||
|
uni.showModal({
|
||
|
title: "确认提交",
|
||
|
constent: content,
|
||
|
success: function (res) {
|
||
|
resolve(res);
|
||
|
},
|
||
|
fail: function (err) {
|
||
|
reject(err);
|
||
|
},
|
||
|
});
|
||
|
})
|
||
|
},
|
||
|
}
|