tremble 5 년 전
부모
커밋
03776b19bc
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      mobile/src/components/toast/cooperation.vue
  2. 1 1
      pc/src/components/toast/cooperation.vue

+ 1 - 1
mobile/src/components/toast/cooperation.vue

@@ -58,7 +58,7 @@ export default {
     async addCooperation () {
       let token = localStorage.getItem('token')
       if (!this.userName) {
-        return this.$toast.show('error', `${this.lang === 'en' ? 'Please enter user name.' : '请输入用户'}`)
+        return this.$toast.show('error', `${this.lang === 'en' ? 'Please enter user name.' : '请输入用户账号'}`)
       }
       let result = await this.$http({
         method: 'post',

+ 1 - 1
pc/src/components/toast/cooperation.vue

@@ -58,7 +58,7 @@ export default {
       let token = localStorage.getItem('token')
 
       if (!this.userName) {
-        return this.$toast.show('error', `${this.lang === 'en' ? 'Please enter user name.' : '请输入用户'}`)
+        return this.$toast.show('error', `${this.lang === 'en' ? 'Please enter user name.' : '请输入用户账号'}`)
       }
 
       let result = await this.$http({