mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 09:17:06 +08:00
fix(Embedded Management): The default position of the icon is 500 pixels after entering the decimal point
This commit is contained in:
@@ -313,7 +313,12 @@ defineExpose({
|
||||
</div>
|
||||
<div class="position-set_input">
|
||||
<div class="x">
|
||||
<el-input-number v-model="sqlBotForm.x_val" :min="0" controls-position="right">
|
||||
<el-input-number
|
||||
v-model="sqlBotForm.x_val"
|
||||
step-strictly
|
||||
:min="0"
|
||||
controls-position="right"
|
||||
>
|
||||
<template #prefix>
|
||||
<el-select v-model="sqlBotForm.x_type" style="width: 51px">
|
||||
<el-option
|
||||
@@ -327,7 +332,12 @@ defineExpose({
|
||||
>px
|
||||
</div>
|
||||
<div class="y">
|
||||
<el-input-number v-model="sqlBotForm.y_val" :min="0" controls-position="right">
|
||||
<el-input-number
|
||||
v-model="sqlBotForm.y_val"
|
||||
step-strictly
|
||||
:min="0"
|
||||
controls-position="right"
|
||||
>
|
||||
<template #prefix>
|
||||
<el-select v-model="sqlBotForm.y_type" style="width: 51px">
|
||||
<el-option
|
||||
|
||||
@@ -132,7 +132,7 @@ const getDsList = (change: boolean = false) => {
|
||||
dsApi(dsForm.oid).then((res: any) => {
|
||||
dsListOptions.value = res || []
|
||||
if (change || !currentEmbedded.id) {
|
||||
dsForm.private_list = dsListOptions.value.map((ele) => ele.id)
|
||||
dsForm.private_list = dsListOptions.value.map((ele: any) => ele.id)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user