docs: annotate payment, host operations and shared components
This commit is contained in:
1 parent
d37ce57d09
commit
dc32a74d7a
17 files changed
+100
No files matched your search
@@ -1,4 +1,5 @@
|
||||
<script>
|
||||
/** 将父级 message/severity/details 转交给 operations 通知组;默认插槽仍正常渲染。 */
|
||||
import { onMounted } from "vue";
|
||||
import { renderSlot } from "vue";
|
||||
import { watch } from "vue";
|
||||
@@ -20,6 +21,7 @@ var a = Object.assign(
|
||||
let a = r,
|
||||
o = useToast();
|
||||
function s() {
|
||||
// 有逐项结果时不自动消失,便于用户检查;普通成功/失败通知按不同寿命自动关闭。
|
||||
a.message.trim() &&
|
||||
o.add({
|
||||
group: `operations`,
|
||||
|
||||
Reference in new issue
Block a user