model accessor
*ptr
*ptr 2019-04-13 16:11:10
0
1
1176

It is not conducive to later maintenance to judge the status field between 0 and 1 in the template, so we need to use the model's accessor, right?

*ptr
*ptr

reply all(1)
阿布塔

Yes, the getter is more troublesome. As long as you use it, as long as you use the model to call data, it will automatically be converted into key values ​​at any time. You need to pay attention to this! ! ! To get the real value of the field, you have to use the getData method. Add me on Q to study together. 327243872

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template