修改ts预警错误
This commit is contained in:
parent
8f41e051cd
commit
30bbabbe22
@ -84,7 +84,8 @@ Page({
|
||||
tt.getOrderPayment({
|
||||
orderId: su.orderId,
|
||||
imId: platform === 'ios' ? iosIm : '',
|
||||
success: (payRes: any) => {
|
||||
success: () => {
|
||||
// payRes: any
|
||||
tt.hideLoading({});
|
||||
if (platform != 'ios') {
|
||||
tt.showToast({
|
||||
|
@ -95,7 +95,7 @@ Page({
|
||||
const nextId = batchList[current]?.id;
|
||||
const context: any = tt.createVideoContext(`${id}`);
|
||||
const nextContext: any = tt.createVideoContext(`${nextId}`);
|
||||
const selectionConList = this.data.selectionConList;
|
||||
// const selectionConList = this.data.selectionConList;
|
||||
|
||||
// const collectionItem: any = this.data.collectionItem;
|
||||
const sid = this.data.sid;
|
||||
@ -180,7 +180,7 @@ Page({
|
||||
},
|
||||
videoPlayerEnded() {
|
||||
const videoPlayerCurrent = this.data.videoPlayerCurrent;
|
||||
const batchList = this.data.batchList;
|
||||
// const batchList = this.data.batchList;
|
||||
// if (videoPlayerCurrent + 1 <= batchList.length) {
|
||||
// const videoreadRes: any = await httpRequest('/videoread', 'POST', params);
|
||||
this.setData({
|
||||
@ -366,8 +366,8 @@ Page({
|
||||
title: `广告加载中...`,
|
||||
icon: 'none',
|
||||
});
|
||||
adBanner.show().then((res: any) => {
|
||||
// console.log("视频广告展示");
|
||||
adBanner.show().then(() => {
|
||||
// res: any console.log("视频广告展示");
|
||||
});
|
||||
},
|
||||
adInit() {
|
||||
@ -377,7 +377,7 @@ Page({
|
||||
// this.watchInfo.isvip = 0;
|
||||
|
||||
if (!isAdBanner) {
|
||||
const adBanner = tt.createRewardedVideoAd({
|
||||
const adBanner: any = tt.createRewardedVideoAd({
|
||||
adUnitId: "wh0y4vcxsbk7ixwktg",
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user