Skip to content

Commit 84ed9a1

Browse files
committed
fix: 右侧悬浮按钮固定可能遮挡的问题
1 parent 8a28a9c commit 84ed9a1

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

src/views/pages/Option/tabs/ScriptList.vue

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,8 @@
508508
transition="slide-y-reverse-transition"
509509
open-on-hover
510510
:style="{
511-
position: 'absolute',
511+
position: 'fixed',
512+
right: '40px',
512513
}"
513514
>
514515
<!-- right: '20px',
@@ -896,15 +897,13 @@ export default class ScriptList extends Vue {
896897
if (group[key].bind) {
897898
where.key = group[key].bind!.substr(1);
898899
console.log(where);
899-
this.valueModel
900-
.findOne(where)
901-
.then((val) => {
902-
// 读取value
903-
console.log(val);
904-
if (val) {
905-
group[key].values = val.value;
906-
}
907-
});
900+
this.valueModel.findOne(where).then((val) => {
901+
// 读取value
902+
console.log(val);
903+
if (val) {
904+
group[key].values = val.value;
905+
}
906+
});
908907
}
909908
where.key = gkey + "." + key;
910909
this.valueModel.findOne(where).then((val) => {

0 commit comments

Comments
 (0)