liyongli 1 年間 前
コミット
b2f1872776
1 ファイル変更1 行追加0 行削除
  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;