安卓传参调整
This commit is contained in:
parent
696afb1a59
commit
024daa062a
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<view class="content">
|
||||
<view style="border:1px solid red;height:50rpx;">
|
||||
<u-button type="primary" @click="testFn">调试录入卡片</u-button>
|
||||
<u-button type="error" @click="testFn">调试录入卡片</u-button>
|
||||
</view>
|
||||
<daySelect @dateChange="onDateChange" />
|
||||
<view v-if="isToday" class="task-info">
|
||||
|
|
|
@ -61,7 +61,7 @@ const baseRequest = async (url, method, data = {}, loading = true) => {
|
|||
if (isAndroid && AndroidJs) {
|
||||
console.log("%c%s", "color:red", "安卓--调用返回方法");
|
||||
const reqRow = {
|
||||
name: "back-android",
|
||||
name: "logout",
|
||||
data: "",
|
||||
};
|
||||
AndroidJs.func(JSON.stringify(reqRow)); // 给安卓传参
|
||||
|
|
Loading…
Reference in New Issue