|
@@ -121,7 +121,7 @@ const searchObj = new URLSearchParams(location.search);
|
|
|
const code = searchObj.get("code");
|
|
|
// 微信支付跳转过来
|
|
|
if (code) {
|
|
|
- location.search = "";
|
|
|
+ // location.search = "";
|
|
|
request({
|
|
|
url: "/khfw/jfgl/gotopay",
|
|
|
data: {
|
|
@@ -152,8 +152,9 @@ if (code) {
|
|
|
})
|
|
|
.then((res) => {
|
|
|
return new Promise((resolve, reject) => {
|
|
|
+
|
|
|
if (res) {
|
|
|
- // location.search = "";
|
|
|
+ location.search = "";
|
|
|
|
|
|
/* todo: 支付成功 */
|
|
|
// router.replace('/stsk/jz/wd')
|
|
@@ -193,11 +194,11 @@ if (code) {
|
|
|
}
|
|
|
});
|
|
|
})
|
|
|
- // .then(res => {
|
|
|
- // if (res === 0) {
|
|
|
- // orderStatus = 0;
|
|
|
- // }
|
|
|
- // })
|
|
|
+ // .then(res => {
|
|
|
+ // if (res === 0) {
|
|
|
+ // orderStatus = 0;
|
|
|
+ // }
|
|
|
+ // })
|
|
|
}
|
|
|
|
|
|
const orderStatusText = computed(() => {
|
|
@@ -277,8 +278,8 @@ const orderStatusText = computed(() => {
|
|
|
</div>
|
|
|
<div>{{ item.intro }}</div>
|
|
|
<!-- <ul class="list-disc list-inside">
|
|
|
- <li>{{ detailInfo.kk_teacher.intro }}</li>
|
|
|
- </ul> -->
|
|
|
+ <li>{{ detailInfo.kk_teacher.intro }}</li>
|
|
|
+ </ul> -->
|
|
|
</div>
|
|
|
</div>
|
|
|
<div v-else>暂无数据</div>
|