jufubao-base 1.0.369 → 1.0.370
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1419,7 +1419,9 @@ export default {
|
|
|
1419
1419
|
if(pay.length === 1) del = []
|
|
1420
1420
|
res.buttons = del.concat(res.buttons || [])
|
|
1421
1421
|
}
|
|
1422
|
-
|
|
1422
|
+
|
|
1423
|
+
//需要判断按钮是否存在
|
|
1424
|
+
res.buttons = (res.buttons||[]).filter(btn => this.actionBtns.includes(btn.action))
|
|
1423
1425
|
|
|
1424
1426
|
if (res.product) {
|
|
1425
1427
|
try {
|