mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-11 05:11:59 +08:00
bugfix load context info of fields (#390)
This commit is contained in:
parent
a589941a30
commit
b2c5f894ec
@ -531,7 +531,7 @@ const panel = {
|
||||
})
|
||||
|
||||
// request context info field
|
||||
if (!isEmptyValue(field.value) && !isEmptyValue(field.contextInfo) && !isEmptyValue(field.contextInfo.sqlStatement)) {
|
||||
if ((!isEmptyValue(field.value) || !isEmptyValue(newValue)) && !isEmptyValue(field.contextInfo) && !isEmptyValue(field.contextInfo.sqlStatement)) {
|
||||
var isSQL = false
|
||||
var sqlStatement = field.contextInfo.sqlStatement
|
||||
if (sqlStatement.includes('@')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user