Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
a29201a2
Commit
a29201a2
authored
Feb 09, 2022
by
稚屿
Browse files
修正单词拼写错误
parent
612c4293
Changes
6
Show whitespace changes
Inline
Side-by-side
ruoyi-ui/src/utils/generator/drawingDefa
l
ut.js
→
ruoyi-ui/src/utils/generator/drawingDefau
l
t.js
View file @
a29201a2
ruoyi-ui/src/utils/generator/html.js
View file @
a29201a2
...
@@ -5,11 +5,11 @@ let confGlobal
...
@@ -5,11 +5,11 @@ let confGlobal
let
someSpanIsNot24
let
someSpanIsNot24
export
function
dialogWrapper
(
str
)
{
export
function
dialogWrapper
(
str
)
{
return
`<el-dialog v-bind="$attrs" v-on="$listeners" @open="onOpen" @close="onClose" title="Dialog Tit
i
le">
return
`<el-dialog v-bind="$attrs" v-on="$listeners" @open="onOpen" @close="onClose" title="Dialog Title">
${
str
}
${
str
}
<div slot="footer">
<div slot="footer">
<el-button @click="close">取消</el-button>
<el-button @click="close">取消</el-button>
<el-button type="primary" @click="hand
e
lConfirm">确定</el-button>
<el-button type="primary" @click="handl
e
Confirm">确定</el-button>
</div>
</div>
</el-dialog>`
</el-dialog>`
}
}
...
...
ruoyi-ui/src/utils/generator/js.js
View file @
a29201a2
...
@@ -98,7 +98,7 @@ function mixinMethod(type) {
...
@@ -98,7 +98,7 @@ function mixinMethod(type) {
close
:
`close() {
close
:
`close() {
this.$emit('update:visible', false)
this.$emit('update:visible', false)
},`
,
},`
,
hand
e
lConfirm
:
`hand
e
lConfirm() {
handl
e
Confirm
:
`handl
e
Confirm() {
this.$refs['
${
confGlobal
.
formRef
}
'].validate(valid => {
this.$refs['
${
confGlobal
.
formRef
}
'].validate(valid => {
if(!valid) return
if(!valid) return
this.close()
this.close()
...
...
ruoyi-ui/src/views/tool/build/CodeTypeDialog.vue
View file @
a29201a2
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
<el-button
@
click=
"close"
>
<el-button
@
click=
"close"
>
取消
取消
</el-button>
</el-button>
<el-button
type=
"primary"
@
click=
"hand
e
lConfirm"
>
<el-button
type=
"primary"
@
click=
"handl
e
Confirm"
>
确定
确定
</el-button>
</el-button>
</div>
</div>
...
@@ -94,7 +94,7 @@ export default {
...
@@ -94,7 +94,7 @@ export default {
close
(
e
)
{
close
(
e
)
{
this
.
$emit
(
'
update:visible
'
,
false
)
this
.
$emit
(
'
update:visible
'
,
false
)
},
},
hand
e
lConfirm
()
{
handl
e
Confirm
()
{
this
.
$refs
.
elForm
.
validate
(
valid
=>
{
this
.
$refs
.
elForm
.
validate
(
valid
=>
{
if
(
!
valid
)
return
if
(
!
valid
)
return
this
.
$emit
(
'
confirm
'
,
{
...
this
.
formData
})
this
.
$emit
(
'
confirm
'
,
{
...
this
.
formData
})
...
...
ruoyi-ui/src/views/tool/build/TreeNodeDialog.vue
View file @
a29201a2
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
<div
slot=
"footer"
>
<div
slot=
"footer"
>
<el-button
<el-button
type=
"primary"
type=
"primary"
@
click=
"hand
e
lConfirm"
@
click=
"handl
e
Confirm"
>
>
确定
确定
</el-button>
</el-button>
...
@@ -133,7 +133,7 @@ export default {
...
@@ -133,7 +133,7 @@ export default {
close
()
{
close
()
{
this
.
$emit
(
'
update:visible
'
,
false
)
this
.
$emit
(
'
update:visible
'
,
false
)
},
},
hand
e
lConfirm
()
{
handl
e
Confirm
()
{
this
.
$refs
.
elForm
.
validate
(
valid
=>
{
this
.
$refs
.
elForm
.
validate
(
valid
=>
{
if
(
!
valid
)
return
if
(
!
valid
)
return
if
(
this
.
dataType
===
'
number
'
)
{
if
(
this
.
dataType
===
'
number
'
)
{
...
...
ruoyi-ui/src/views/tool/build/index.vue
View file @
a29201a2
...
@@ -146,7 +146,7 @@ import { beautifierConf, titleCase } from '@/utils/index'
...
@@ -146,7 +146,7 @@ import { beautifierConf, titleCase } from '@/utils/index'
import
{
makeUpHtml
,
vueTemplate
,
vueScript
,
cssStyle
}
from
'
@/utils/generator/html
'
import
{
makeUpHtml
,
vueTemplate
,
vueScript
,
cssStyle
}
from
'
@/utils/generator/html
'
import
{
makeUpJs
}
from
'
@/utils/generator/js
'
import
{
makeUpJs
}
from
'
@/utils/generator/js
'
import
{
makeUpCss
}
from
'
@/utils/generator/css
'
import
{
makeUpCss
}
from
'
@/utils/generator/css
'
import
drawingDefa
l
ut
from
'
@/utils/generator/drawingDefa
l
ut
'
import
drawingDefau
l
t
from
'
@/utils/generator/drawingDefau
l
t
'
import
logo
from
'
@/assets/logo/logo.png
'
import
logo
from
'
@/assets/logo/logo.png
'
import
CodeTypeDialog
from
'
./CodeTypeDialog
'
import
CodeTypeDialog
from
'
./CodeTypeDialog
'
import
DraggableItem
from
'
./DraggableItem
'
import
DraggableItem
from
'
./DraggableItem
'
...
@@ -171,15 +171,15 @@ export default {
...
@@ -171,15 +171,15 @@ export default {
selectComponents
,
selectComponents
,
layoutComponents
,
layoutComponents
,
labelWidth
:
100
,
labelWidth
:
100
,
drawingList
:
drawingDefa
l
ut
,
drawingList
:
drawingDefau
l
t
,
drawingData
:
{},
drawingData
:
{},
activeId
:
drawingDefa
l
ut
[
0
].
formId
,
activeId
:
drawingDefau
l
t
[
0
].
formId
,
drawerVisible
:
false
,
drawerVisible
:
false
,
formData
:
{},
formData
:
{},
dialogVisible
:
false
,
dialogVisible
:
false
,
generateConf
:
null
,
generateConf
:
null
,
showFileName
:
false
,
showFileName
:
false
,
activeData
:
drawingDefa
l
ut
[
0
]
activeData
:
drawingDefau
l
t
[
0
]
}
}
},
},
created
()
{
created
()
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment