@@ -221,6 +221,7 @@ const methods = {
}
if (gasQtyNum.value > store.common.data.preferWeight) {
func.native.showToast('加气量不能超过' + store.common.data.preferWeight)
+ return false
// 物流支付-仅创建订单
if (data.fpayType === 1 && carrierPay.value?.createOnly) {
@@ -1,3 +1,5 @@
+/* eslint-disable no-prototype-builtins */
+/* eslint-disable promise/param-names */
import native from './native'
import convert from './convert'
import validate from './validate'
@@ -4,7 +4,7 @@ export default defineStore('common', () => {
const data = reactive({
debug: true,
/** 加气量上限 */
- preferWeight: 1000,
+ preferWeight: 5000,
/** 客服电话 */
phone: '400-016-5388',
/** mock场景值 */