liyongli il y a 1 an
Parent
commit
b2f1872776
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/view/finance2023/index.vue

+ 1 - 0
src/view/finance2023/index.vue

@@ -228,6 +228,7 @@ const canvas_init = (uname, num) => {
 
 const onSubmit = e => {
   if (e === 'cancel') return true;
+  if (username.value.length > 10) return showToast('昵称字数不得超过5个');
   if (!username.value) {
     showToast('请输入昵称');
     return false;