mirror of
https://github.com/dataease/dataease.git
synced 2025-02-25 20:42:55 +08:00
Merge pull request #3419 from dataease/pr@dev_eslint_auto_fix
Pr@dev eslint auto fix
This commit is contained in:
commit
fcbd11ef15
@ -52,7 +52,8 @@ export default {
|
||||
if (res) {
|
||||
const Fn = Function
|
||||
const dynamicCode = res.data || res
|
||||
this.mode = new Fn(`return ${dynamicCode}`)()
|
||||
const component = new Fn(`return ${dynamicCode}`)()
|
||||
this.mode = component.default || component
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user