Browse Source

chore[litemall-admin]: 把英文消息提醒改成中文

Junling Bu 6 years ago
parent
commit
409618f19e

+ 1 - 1
litemall-admin/src/components/Screenfull/index.vue

@@ -55,7 +55,7 @@ export default {
     click() {
       if (!screenfull.enabled) {
         this.$message({
-          message: 'you browser can not work',
+          message: '浏览器不支持全屏',
           type: 'warning'
         })
         return false

+ 1 - 1
litemall-admin/src/components/SizeSelect/index.vue

@@ -24,7 +24,7 @@ export default {
       this.$store.dispatch('setSize', size)
       this.refreshView()
       this.$message({
-        message: 'Switch Size Success',
+        message: '布局尺寸切换成功',
         type: 'success'
       })
     },

+ 2 - 2
litemall-admin/src/utils/clipboard.js

@@ -3,7 +3,7 @@ import Clipboard from 'clipboard'
 
 function clipboardSuccess() {
   Vue.prototype.$message({
-    message: 'Copy successfully',
+    message: '拷贝成功',
     type: 'success',
     duration: 1500
   })
@@ -11,7 +11,7 @@ function clipboardSuccess() {
 
 function clipboardError() {
   Vue.prototype.$message({
-    message: 'Copy failed',
+    message: '拷贝失败',
     type: 'error'
   })
 }