Tencent / Tencent/tdesign-miniprogram

[Dialog] 命令调用支持异步关闭

Open
#3,788 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vue
Stars
1.8k
Forks
337
Avg merge
1d 21h
Merged PRs (30d)
19

Description

这个功能解决了什么问题

关闭弹窗之前请求服务器验证状态,验证通过关闭弹窗

你建议的方案是什么?

希望能够通过传入回调,回调返回ture时关闭弹窗

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No implementation file or test is identified in the issue. Start by locating the Dialog command API and its current close flow, then determine how an asynchronous callback should be invoked and how a true result controls closing. Done means the behavior is covered by tests and the documented command API supports server-side validation before closing.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.