fix code style
This commit is contained in:
@@ -458,15 +458,14 @@ export default {
|
|||||||
let that = this;
|
let that = this;
|
||||||
// force to open case
|
// force to open case
|
||||||
this.openDefaultCase();
|
this.openDefaultCase();
|
||||||
//this.columns = this.getTableColumns(_.intersection(this.defaultColumns, this.settings.columns));
|
|
||||||
// define sort event
|
// define sort event
|
||||||
Event.$on("vue-tables.todo.sorted", function(data) {
|
Event.$on("vue-tables.todo.so rted", function(data) {
|
||||||
that.$emit("updateUserSettings", "orderBy", data);
|
that.$emit("updateUserSettings", "orderBy", data);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
columns: function(val) {
|
columns: function(val) {
|
||||||
//this.$emit("updateUserSettings", "columns", val);
|
//TODO update settings
|
||||||
},
|
},
|
||||||
filters: function(val) {
|
filters: function(val) {
|
||||||
this.$emit("updateUserSettings", "filters", val);
|
this.$emit("updateUserSettings", "filters", val);
|
||||||
@@ -593,8 +592,6 @@ export default {
|
|||||||
return item.field;
|
return item.field;
|
||||||
});
|
});
|
||||||
that.settingOptions = that.formatColumnSettings(columns);
|
that.settingOptions = that.formatColumnSettings(columns);
|
||||||
//columns = _.intersection(tmp, that.settings.columns);
|
|
||||||
// columns = tmp;
|
|
||||||
dt = that.formatDataResponse(response.data.data);
|
dt = that.formatDataResponse(response.data.data);
|
||||||
that.cardColumns = columns;
|
that.cardColumns = columns;
|
||||||
if (that.isFistTime) {
|
if (that.isFistTime) {
|
||||||
|
|||||||
Reference in New Issue
Block a user