Browse Source

1.3bug处理

master
kola-web 4 weeks ago
parent
commit
da25d39335
  1. 2
      project.config.json
  2. 12
      src/app.ts
  3. 1
      src/pages/home/index.ts
  4. 1
      src/pages/information/index.ts

2
project.config.json

@ -71,5 +71,5 @@
} }
] ]
}, },
"appid": "wxf9ce8010f1ad24aa" "appid": "wx71ac9c27c3c3e3f4"
} }

12
src/app.ts

@ -16,15 +16,15 @@ App<IAppOption>({
// 测试号 wx2b0bb13edf717c1d // 测试号 wx2b0bb13edf717c1d
// dev // dev
// appid:wxf9ce8010f1ad24aa // appid:wxf9ce8010f1ad24aa
url: 'https://m.xd.hbraas.com', // url: 'https://m.xd.hbraas.com',
upFileUrl: 'https://m.xd.hbraas.com/', // upFileUrl: 'https://m.xd.hbraas.com/',
imageUrl: 'https://m.xd.hbraas.com/xd/', // imageUrl: 'https://m.xd.hbraas.com/xd/',
// pro // pro
// appid:wx71ac9c27c3c3e3f4 // appid:wx71ac9c27c3c3e3f4
// url: 'https://m.xd.hbsaas.com', url: 'https://m.xd.hbsaas.com',
// upFileUrl: 'https://m.xd.hbsaas.com/', upFileUrl: 'https://m.xd.hbsaas.com/',
// imageUrl: 'https://m.xd.hbsaas.com/api/xd/', imageUrl: 'https://m.xd.hbsaas.com/api/xd/',
loginState: '', loginState: '',
isLogin: 0, isLogin: 0,

1
src/pages/home/index.ts

@ -234,6 +234,7 @@ Page({
const { id, index } = e.currentTarget.dataset; const { id, index } = e.currentTarget.dataset;
const params = this.data.list[index]; const params = this.data.list[index];
if (params.ContentType === '5' && params.FileList[0]) { if (params.ContentType === '5' && params.FileList[0]) {
app.mpBehavior({ PositionId: '1', OperateType: '1', OperateId: id as string });
this.handleFile(params.FileList[0]); this.handleFile(params.FileList[0]);
} else { } else {
wx.navigateTo({ wx.navigateTo({

1
src/pages/information/index.ts

@ -60,6 +60,7 @@ Page({
const { id, index } = e.currentTarget.dataset; const { id, index } = e.currentTarget.dataset;
const params = this.data.list[index]; const params = this.data.list[index];
if (params.ContentType === '5' && params.FileList[0]) { if (params.ContentType === '5' && params.FileList[0]) {
app.mpBehavior({ PositionId: '1', OperateType: '1', OperateId: id as string });
this.handleFile(params.FileList[0]); this.handleFile(params.FileList[0]);
} else { } else {
wx.navigateTo({ wx.navigateTo({

Loading…
Cancel
Save