mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-30 22:02:24 +00:00
Merge pull request #4038 from jumpserver/pr@v4@fix_assets_error
fixed: Fixed the Error message when updating assets
This commit is contained in:
commit
04de130e02
@ -268,7 +268,7 @@ export default {
|
||||
}
|
||||
// 由于在新增时有些 Select 会存在初始值,而有些没有,就会导致动态类名判断出现相反的情况
|
||||
// 此处强制设置没有初始值的动态类名
|
||||
if (this.iValue.length === 0) this.transformed = false
|
||||
if (Array.isArray(this.iValue) && this.iValue.length === 0) this.transformed = false
|
||||
|
||||
this.$nextTick(() => {
|
||||
// 因为elform存在问题,这个来清楚验证
|
||||
|
@ -19,7 +19,3 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
|
@ -324,7 +324,3 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user