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;