Explorar el Código

输出请求结果

JXDS18FUJT hace 1 mes
padre
commit
5bcc2fb682
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      src/views/yeNingKC/index.vue

+ 4 - 1
src/views/yeNingKC/index.vue

@@ -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>