Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-bpm
Project
Project
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
鲁鑫
topsun-bpm
Commits
6b76183b
Commit
6b76183b
authored
Jan 02, 2024
by
覃振观
👶
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
监听范围 增加 textarea
parent
7ece56cc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
159 additions
and
124 deletions
+159
-124
listeningFromData.js
...xt/src/main/webapp/biz/topsun/common/listeningFromData.js
+6
-0
productDetail.jsp
...n-xt/src/main/webapp/biz/topsun/product/productDetail.jsp
+153
-124
No files found.
topsun-xt/src/main/webapp/biz/topsun/common/listeningFromData.js
View file @
6b76183b
...
...
@@ -482,6 +482,12 @@ function inputEventListener() {
listenerContent
(
event
);
});
});
const
textareaElements
=
document
.
querySelectorAll
(
'textarea'
);
textareaElements
.
forEach
(
item
=>
{
item
.
addEventListener
(
'input'
,
(
event
)
=>
{
listenerContent
(
event
);
});
});
}
/**
...
...
topsun-xt/src/main/webapp/biz/topsun/product/productDetail.jsp
View file @
6b76183b
This diff is collapsed.
Click to expand it.
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