diff --git a/nezha-fronted/src/components/common/rightBox/accountBox.vue b/nezha-fronted/src/components/common/rightBox/accountBox.vue index 287fcc1f3..4428aa023 100644 --- a/nezha-fronted/src/components/common/rightBox/accountBox.vue +++ b/nezha-fronted/src/components/common/rightBox/accountBox.vue @@ -165,18 +165,18 @@ }, getScripts() { - /*this.$get("/alert/script?pageNo=1&pageSize=-1").then(response => { + this.$get("/alert/script?pageNo=1&pageSize=-1").then(response => { this.scripts = response.data.list; this.getSelectableScripts(); - });*/ - this.scripts = [ + }); + /*this.scripts = [ {id: 1, name: "DOLBY"}, {id: 2, name: "IMAX"}, {id: 3, name: "CGS"}, {id: 4, name: "LUXE"}, {id: 5, name: "DST:X"}, ]; - this.getSelectableScripts(); + this.getSelectableScripts();*/ }, getSelectableScripts() { diff --git a/nezha-fronted/src/components/page/config/account.vue b/nezha-fronted/src/components/page/config/account.vue index 407013a35..b0352f0f7 100644 --- a/nezha-fronted/src/components/page/config/account.vue +++ b/nezha-fronted/src/components/page/config/account.vue @@ -57,6 +57,7 @@ v-for="(item, index) in tools.customTableTitle" v-if="item.show" :key="`col-${index}`" + :fixed="item.fixed" :label="item.label" :prop="item.prop" :sort-orders="['ascending', 'descending']" @@ -98,7 +99,7 @@ {{scope.row[item.prop]}} - +