2.23 更新
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { TUICallKitServer } from "../../../TUICallService/index";
|
||||
const PATH = '../../../static';
|
||||
Component({
|
||||
|
||||
properties: {
|
||||
callRole: {
|
||||
type: String,
|
||||
@@ -36,6 +37,18 @@ Component({
|
||||
type: Boolean
|
||||
}
|
||||
},
|
||||
pageLifetimes: {
|
||||
show: function() {
|
||||
// 页面被展示
|
||||
},
|
||||
hide: function() {
|
||||
// 页面被隐藏
|
||||
this.hangup()
|
||||
},
|
||||
resize: function(size) {
|
||||
// 页面尺寸变化
|
||||
}
|
||||
},
|
||||
data:{
|
||||
IMG_DEFAULT_AVATAR:`${PATH}/default_avatar.png`,
|
||||
IMG_HANGUP:`${PATH}/hangup.png`,
|
||||
|
||||
Reference in New Issue
Block a user