Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
marketing-web
marketing
Commits
41bf2eae
Commit
41bf2eae
authored
Jul 18, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: dist
parent
ffb2c3a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
addTemp.vue
src/views/message/addTemp.vue
+3
-3
No files found.
src/views/message/addTemp.vue
View file @
41bf2eae
...
...
@@ -145,8 +145,8 @@
<
el
-
option
v
-
for
=
"el in entepriseList"
:
key
=
"el.wxEnterpriseId"
:
value
=
"el.wxEnterpriseId"
:
label
=
"el.corpName"
><
/el-option
>
<
/el-select
>
<
el
-
select
class
=
"w160"
v
-
model
=
"link.linkType"
@
change
=
"getlinkOptions()"
>
<
el
-
option
label
=
"
专
用链接"
:
value
=
"1"
><
/el-option
>
<
el
-
option
label
=
"
通
用链接"
:
value
=
"2"
><
/el-option
>
<
el
-
option
label
=
"
通
用链接"
:
value
=
"1"
><
/el-option
>
<
el
-
option
label
=
"
专
用链接"
:
value
=
"2"
><
/el-option
>
<
/el-select
>
<
el
-
select
class
=
"w160"
v
-
model
=
"link.hmLinkId"
filterable
placeholder
=
"请选择"
remote
:
remote
-
method
=
"getlinkOptions"
:
loading
=
"linkOptionsLoading"
>
<
el
-
option
v
-
for
=
"item in linkOptions"
:
key
=
"item.shortCode"
:
label
=
"item.name"
:
value
=
"item.shortCode"
>
<
/el-option
>
...
...
@@ -202,7 +202,7 @@ export default {
}
this
.
form
.
content
=
value
;
// 如果是复制的链接,提示链接后面需要保留一个空格,如果用户不添加空格则无法保存
const
urlReg
=
/
(
https
?
|ftp|file
)
:
\/\/[
-A-Za-z0-9+&@#
\/
%?=~_|!:,.;
]
+
[
-A-Za-z0-9+&@#
\/
%=~_|
]
/g
;
const
urlReg
=
/
(
https
?
|ftp|file
)
:
\/\/[
-A-Za-z0-9+&@#
\/
%?=~_|!:,.;
{
]
+
[
-A-Za-z0-9+&@#
\/
%=~_|
}
]
/g
;
let
validate
=
false
;
value
.
replace
(
urlReg
,
(
str
,
$1
,
index
)
=>
{
console
.
log
(
str
);
...
...
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