diff --git a/components/dForm/index.vue b/components/dForm/index.vue index 5e36cea..a5c0e1c 100644 --- a/components/dForm/index.vue +++ b/components/dForm/index.vue @@ -131,11 +131,22 @@ }) } + const setData = (data) => { + list.forEach(item => { + const { key } = item + formData[key] = data[key] || null + }) + } + + const getData = () => { + return formData + } + const validate = () => { return dFormRef.value.validate() } - defineExpose({ validate }) + defineExpose({ setData, getData, validate }) \ No newline at end of file diff --git a/otherPages/authentication/list/index.vue b/otherPages/authentication/list/index.vue index 345d42c..e32bb06 100644 --- a/otherPages/authentication/list/index.vue +++ b/otherPages/authentication/list/index.vue @@ -84,6 +84,8 @@ - \ No newline at end of file diff --git a/otherPages/myOrdersManage/static/bond/bg-popup.png b/otherPages/myOrdersManage/static/bond/bg-popup.png new file mode 100644 index 0000000..654d8b9 Binary files /dev/null and b/otherPages/myOrdersManage/static/bond/bg-popup.png differ diff --git a/pages.json b/pages.json index d2fe40e..ccfaa1e 100644 --- a/pages.json +++ b/pages.json @@ -208,14 +208,14 @@ "navigationBarTitleText": "保证金" } }, { - "path": "withdrawal/index", + "path": "bond/refund", "style": { - "navigationBarTitleText": "提现" + "navigationBarTitleText": "保证金退还" } }, { - "path": "detail/index", + "path": "withdrawal/index", "style": { - "navigationBarTitleText": "保证金退还" + "navigationBarTitleText": "提现" } }, { "path": "transaction/index",