search

Home  >  Q&A  >  body text

php - After yii2 defaults to curd, the template file display problem in views

As shown in the picture, I want to define the part in the red circle as Chinese. Is there any way to do it? Thank you!

欧阳克欧阳克2732 days ago799

reply all(2)I'll reply

  • 天蓬老师

    天蓬老师2017-06-24 09:44:29

    It is recommended to read the authoritative guide of the yii2 framework first.
    This needs to be set in attributeLabels in the model, and it will be automatically mapped.

    reply
    0
  • 怪我咯

    怪我咯2017-06-24 09:44:29

    Can be modified in the corresponding model model

    reply
    0
  • Cancelreply