diff --git a/components/center/collect.vue b/components/center/collect.vue
index 5c53fb2..2aa1d2e 100644
--- a/components/center/collect.vue
+++ b/components/center/collect.vue
@@ -1,9 +1,33 @@
- 我的收藏
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/center/myupload.vue b/components/center/myupload.vue
index 53f87b8..c2def81 100644
--- a/components/center/myupload.vue
+++ b/components/center/myupload.vue
@@ -1,9 +1,32 @@
- 我的上传
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/center/security.vue b/components/center/security.vue
index 60c1e6a..60535a3 100644
--- a/components/center/security.vue
+++ b/components/center/security.vue
@@ -1,25 +1,28 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
- {{$t('submit')}}
-
-
+
+ {{$t('button.submit')}}
+
+
diff --git a/pages/index/upload.vue b/pages/index/upload.vue
index 16d2e0b..1200c24 100644
--- a/pages/index/upload.vue
+++ b/pages/index/upload.vue
@@ -72,7 +72,7 @@
- {{$t('submit')}}
+ {{$t('button.submit')}}
@@ -140,11 +140,11 @@
},
//确认移除论文
beforeRemove(file: { name: string }, fileList: any) {
- return this.$confirm(this.$t('upload.form.remove',{file:file.name}))
+ return this.$confirm(this.$t('upload.form.remove',{file:file.name}).toString())
},
//提交论文
onSubmit(){
-
+ this.$alert(this.$t('upload.tip.ok').toString())
}
}
})
diff --git a/plugins/moment.js b/plugins/moment.js
new file mode 100644
index 0000000..e6fbe97
--- /dev/null
+++ b/plugins/moment.js
@@ -0,0 +1,4 @@
+import Vue from 'vue'
+import moment from 'moment'
+
+Vue.prototype.$moment = moment
diff --git a/yarn.lock b/yarn.lock
index 47df793..e8d810e 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -6720,6 +6720,11 @@ mkdirp@^1.0.4:
resolved "https://registry.npm.taobao.org/mkdirp/download/mkdirp-1.0.4.tgz?cache=0&sync_timestamp=1587535418745&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmkdirp%2Fdownload%2Fmkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e"
integrity sha1-PrXtYmInVteaXw4qIh3+utdcL34=
+moment@^2.27.0:
+ version "2.27.0"
+ resolved "https://registry.npm.taobao.org/moment/download/moment-2.27.0.tgz?cache=0&sync_timestamp=1592517925956&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmoment%2Fdownload%2Fmoment-2.27.0.tgz#8bff4e3e26a236220dfe3e36de756b6ebaa0105d"
+ integrity sha1-i/9OPiaiNiIN/j423nVrbrqgEF0=
+
move-concurrently@^1.0.1:
version "1.0.1"
resolved "https://registry.npm.taobao.org/move-concurrently/download/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92"