dcloudio / dcloudio/uni-app

uni.showLoading title属性非必填

Open
#1,611 0 comments 0 reactions 0 assignees View on GitHub
not_planned
Dominant language
JavaScript
Stars
41.6k
Forks
3.7k
Avg merge
7h 6m
Merged PRs (30d)
6

Description

**新功能描述**
title属性非必填

**现状及问题**
不想要提示文字。如果title: ' ',在真机上loading图标不居中。
**尝试方案**
[如果你有尝试绕开或其它解决方案,在这里描述你的建议方案]

**补充信息**
[其它你认为有参考价值的信息]

Contributor guide

Open the contributing guide

Research direction

Start by locating the uni.showLoading API entry point and its handling of the title property. Reproduce the current behavior with no title and with a single-space title, including on a real device, then verify that omitting title keeps the loading icon centered without提示文字.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, mobile-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.