|
@@ -5,6 +5,7 @@
|
|
|
<script setup lang="ts">
|
|
|
import Phone from "@/utils/phone";
|
|
|
import axios from "axios";
|
|
|
+import {ref} from 'vue'
|
|
|
type iosOrderUserInfo = {
|
|
|
id: string;
|
|
|
nickName: string;
|
|
@@ -19,7 +20,7 @@ const baseUrl =
|
|
|
: "https://jsjp-admin1.zzxcx.net/jsjp-admin/";
|
|
|
const myPhone = new Phone();
|
|
|
const request = axios.create();
|
|
|
-const msg = ref('')
|
|
|
+const msg = ref('未调用的初始状态')
|
|
|
//@ts-ignore
|
|
|
window.iosOrder = (goodsId: string, userInfoStr: string,goodsType:string) => {
|
|
|
let userInfoObj: iosOrderUserInfo = JSON.parse(userInfoStr);
|
|
@@ -102,6 +103,8 @@ window.iosOrder = (goodsId: string, userInfoStr: string,goodsType:string) => {
|
|
|
// alert('调用了iosOrder')
|
|
|
};
|
|
|
myPhone.ladCallgo()
|
|
|
+
|
|
|
+
|
|
|
</script>
|
|
|
|
|
|
<style scoped></style>
|