liyongli 1 жил өмнө
parent
commit
b2f1872776

+ 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;