update: disable button if avatar is unable to submit
This commit is contained in:
@@ -86,7 +86,7 @@ const avatarUrl = computed(() => {
|
||||
</div>
|
||||
</div>
|
||||
<div class="ts-wrap has-top-spaced is-end-aligned">
|
||||
<button class="ts-button" type="submit">更新</button>
|
||||
<button class="ts-button" :disabled="!(avatarFile && avatarError === '')" type="submit">更新</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user