Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c462bbac
authored
Mar 27, 2023
by
puhui999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:添加类型解决ts报错
parent
581b301e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/views/system/sms/template/SmsTemplateForm.vue
+2
-2
No files found.
src/views/system/sms/template/SmsTemplateForm.vue
View file @
c462bbac
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
<el-radio
<el-radio
v-for=
"dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
v-for=
"dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
:key=
"dict.value"
:key=
"dict.value"
:label=
"parseInt(dict.value)"
:label=
"parseInt(dict.value
as string
)"
>
>
{{
dict
.
label
}}
{{
dict
.
label
}}
</el-radio>
</el-radio>
...
@@ -96,7 +96,7 @@ const formRules = reactive({
...
@@ -96,7 +96,7 @@ const formRules = reactive({
channelId
:
[{
required
:
true
,
message
:
'短信渠道编号不能为空'
,
trigger
:
'change'
}]
channelId
:
[{
required
:
true
,
message
:
'短信渠道编号不能为空'
,
trigger
:
'change'
}]
})
})
const
formRef
=
ref
()
// 表单 Ref
const
formRef
=
ref
()
// 表单 Ref
const
channelList
=
ref
([])
// 短信渠道列表
const
channelList
=
ref
<
SmsChannelApi
.
SmsChannelVO
[]
>
([])
// 短信渠道列表
const
open
=
async
(
type
:
string
,
id
?:
number
)
=>
{
const
open
=
async
(
type
:
string
,
id
?:
number
)
=>
{
modelVisible
.
value
=
true
modelVisible
.
value
=
true
...
...
Write
Preview
Markdown
is supported
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