File tree Expand file tree Collapse file tree 2 files changed +20
-8
lines changed Expand file tree Collapse file tree 2 files changed +20
-8
lines changed Original file line number Diff line number Diff line change 797797 watch: {
798798
799799 // 重新跟新列信息
800- ' columns ' : function (newVal ) {
800+ ' columns' : {
801+ handler : function (newVal ) {
801802
802- this .initColumns ();
803+ this .initColumns ();
804+ },
805+ deep: true
803806 },
804807 // 重新覆盖复杂表头信息
805- ' titleRows ' : function (newVal ) {
808+ ' titleRows' : {
809+ handler : function (newVal ) {
806810
807- this .initColumns ();
811+ this .initColumns ();
812+ },
813+ deep: true
808814 },
809815
810816 // deep watch
Original file line number Diff line number Diff line change 797797 watch: {
798798
799799 // 重新跟新列信息
800- ' columns ' : function (newVal ) {
800+ ' columns' : {
801+ handler : function (newVal ) {
801802
802- this .initColumns ();
803+ this .initColumns ();
804+ },
805+ deep: true
803806 },
804807 // 重新覆盖复杂表头信息
805- ' titleRows ' : function (newVal ) {
808+ ' titleRows' : {
809+ handler : function (newVal ) {
806810
807- this .initColumns ();
811+ this .initColumns ();
812+ },
813+ deep: true
808814 },
809815
810816 // deep watch
You can’t perform that action at this time.
0 commit comments