docs: explain dcim services and purchase flows
This commit is contained in:
1 parent
9eadc36b62
commit
f50693a674
7 files changed
+20
-1
No files matched your search
@@ -1,4 +1,5 @@
|
||||
<script>
|
||||
// 付费镜像授权弹窗:复查实时价格、复用本组件已建订单,并在支付后重新检查授权。
|
||||
import "~/assets/styles/PaymentDialog.BNFKQF1U.css";
|
||||
import { toDisplayString } from "vue";
|
||||
import { onBeforeUnmount } from "vue";
|
||||
@@ -58,6 +59,7 @@ var C = {
|
||||
throw Error(`镜像费用信息无效,请重试`);
|
||||
return Number(e).toFixed(2);
|
||||
}
|
||||
// 免费或已授权镜像直接放行;价格变化需用户重新确认,不能沿用旧金额创建订单。
|
||||
async function I() {
|
||||
let e = w.value;
|
||||
if (!e || D.value || N) return;
|
||||
@@ -100,6 +102,7 @@ var C = {
|
||||
t === M && (D.value = !1);
|
||||
}
|
||||
}
|
||||
// 支付回调不等于授权已生效,只有检查接口费用变为 0 才通知调用方继续操作。
|
||||
async function L() {
|
||||
let e = w.value;
|
||||
if (!e || N) return;
|
||||
|
||||
Reference in new issue
Block a user