You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/11/22 16:46:29 UTC

[GitHub] [shardingsphere-elasticjob-ui] cocodroid commented on a diff in pull request #148: Add Dump Job

cocodroid commented on code in PR #148:
URL: https://github.com/apache/shardingsphere-elasticjob-ui/pull/148#discussion_r1029591909


##########
shardingsphere-elasticjob-lite-ui/shardingsphere-elasticjob-lite-ui-frontend/config/index.js:
##########
@@ -38,7 +38,7 @@ module.exports = {
 
     // Various Dev Server settings
     host: 'localhost', // can be overwritten by process.env.HOST
-    port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
+    port: 8888, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined

Review Comment:
   Yes,It‘s have updated.



##########
shardingsphere-elasticjob-lite-ui/shardingsphere-elasticjob-lite-ui-frontend/src/views/operation-servers-detail/module/operationServersDetail.vue:
##########
@@ -291,6 +377,29 @@ export default {
     },
     search() {
       this.getJobs()
+    },
+
+    copy() {
+      const text = document.querySelector('.dumpContent').innerText
+      const target = document.createElement('textarea')
+      target.id = 'creatDom'
+      target.value = text
+      document.body.appendChild(target)
+      target.select()
+      try {
+        document.execCommand('Copy')
+        console.log('复制成功')

Review Comment:
   It's done.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org