Skip to content

Commit

Permalink
fix: 右侧悬浮按钮固定可能遮挡的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
CodFrm committed Dec 1, 2021
1 parent 8a28a9c commit 84ed9a1
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions src/views/pages/Option/tabs/ScriptList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,8 @@
transition="slide-y-reverse-transition"
open-on-hover
:style="{
position: 'absolute',
position: 'fixed',
right: '40px',
}"
>
<!-- right: '20px',
Expand Down Expand Up @@ -896,15 +897,13 @@ export default class ScriptList extends Vue {
if (group[key].bind) {
where.key = group[key].bind!.substr(1);
console.log(where);
this.valueModel
.findOne(where)
.then((val) => {
// 读取value
console.log(val);
if (val) {
group[key].values = val.value;
}
});
this.valueModel.findOne(where).then((val) => {
// 读取value
console.log(val);
if (val) {
group[key].values = val.value;
}
});
}
where.key = gkey + "." + key;
this.valueModel.findOne(where).then((val) => {
Expand Down

0 comments on commit 84ed9a1

Please sign in to comment.