Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

['ext', 'aa+1'] 方式无法正常添加值 #29

Closed
flydo opened this issue May 19, 2018 · 1 comment
Closed

['ext', 'aa+1'] 方式无法正常添加值 #29

flydo opened this issue May 19, 2018 · 1 comment

Comments

@flydo
Copy link

flydo commented May 19, 2018

如题:

        $data['remnant_inventory'] = ['exp', 'remnant_inventory + ' . $invent];

selection_027

之前是好好的. 将 0.9 版本更新到1.x 版本后就不行了... inc 方式也不行.

    if ($invent > 0) {
            $data['remnant_inventory'] = ['inc', 'remnant_inventory + ' . $invent];
        }

selection_028

@liu21st
Copy link
Member

liu21st commented May 19, 2018

['inc',$invent] 就可以了

@liu21st liu21st closed this as completed May 19, 2018
@ghost ghost mentioned this issue May 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants