diff --git a/frontend/src/components/EmptyContent.vue b/frontend/src/components/EmptyContent.vue
index 93fb424..d3996e1 100644
--- a/frontend/src/components/EmptyContent.vue
+++ b/frontend/src/components/EmptyContent.vue
@@ -2,7 +2,7 @@

-
No content yet
+
{{ $t('No content yet') }}
diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js
index 8a7e21f..7a53429 100644
--- a/frontend/src/lang/en.js
+++ b/frontend/src/lang/en.js
@@ -216,5 +216,6 @@ export default {
Message: 'Message',
'Upload attachment': 'Upload attachment',
'Didn\'t get the email? Check junk folder or': 'Didn\'t get the email? Check junk folder or ',
- 'send again': 'send again'
+ 'send again': 'send again',
+ 'No content yet': 'No content yet'
}
diff --git a/frontend/src/lang/zh.js b/frontend/src/lang/zh.js
index 7e5bb6f..1f5a9fc 100644
--- a/frontend/src/lang/zh.js
+++ b/frontend/src/lang/zh.js
@@ -209,5 +209,6 @@ export default {
Message: '消息',
'Upload attachment': '上传附件',
'Didn\'t get the email? Check junk folder or': '没收到邮件?检查垃圾文件夹或',
- 'send again': '重新发送'
+ 'send again': '重新发送',
+ 'No content yet': '暂无内容'
}
diff --git a/frontend/src/pages/user/workspace/projectIssue/Issue.vue b/frontend/src/pages/user/workspace/projectIssue/Issue.vue
index b6e4f52..3355f2d 100644
--- a/frontend/src/pages/user/workspace/projectIssue/Issue.vue
+++ b/frontend/src/pages/user/workspace/projectIssue/Issue.vue
@@ -240,8 +240,13 @@ export default {
}
},
updateIssue() {
- // console.log('updateIssue', this.updatingIssue)
- WorksapceApi.updateIssueForProduct(this.updatingIssue)
+ console.log('updateIssue', this.updatingIssue)
+ const fdata = new FormData()
+ fdata.append('issue_id', this.updatingIssue.issue_id)
+ fdata.append('issue_title', this.updatingIssue.issue_title)
+ fdata.append('issue_description', this.updatingIssue.issue_description)
+ fdata.append('issue_attachment', this.updatingIssue.issue_attachment)
+ WorksapceApi.updateIssueForProduct(fdata)
.then(() => {
// this.$refs.issueBtn.blur()
// this.$refs.issueAddBtn.click()