|
|
@@ -68,6 +68,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+const path = require("path");
|
|
|
export default {
|
|
|
name: "Submit",
|
|
|
inject: ["bs"],
|
|
|
@@ -134,7 +135,7 @@ export default {
|
|
|
.post("/order/create?collectionId=" + this.$route.query.id + "&qty=1")
|
|
|
.then((res) => {
|
|
|
document.location.replace(
|
|
|
- this.$baseUrl + "payOrder/alipay?id=" + res.id
|
|
|
+ path.resolve(this.$baseUrl, "payOrder/alipay?id=" + res.id)
|
|
|
);
|
|
|
})
|
|
|
.catch((e) => {
|