ios 退出问题
parent
09b7ece510
commit
fa6f571f61
|
@ -60,9 +60,10 @@ export default {
|
||||||
//取消
|
//取消
|
||||||
cancel(){
|
cancel(){
|
||||||
// #ifdef APP-PLUS
|
// #ifdef APP-PLUS
|
||||||
const threadClass = plus.ios.importClass("NSThread");
|
// const threadClass = plus.ios.importClass("NSThread");
|
||||||
const mainThread = plus.ios.invoke(threadClass, "mainThread");
|
// const mainThread = plus.ios.invoke(threadClass, "mainThread");
|
||||||
plus.ios.invoke(mainThread, "exit")
|
// plus.ios.invoke(mainThread, "exit")
|
||||||
|
plus.ios.import("UIApplication").sharedApplication().performSelector("exit")
|
||||||
// #endif
|
// #endif
|
||||||
},
|
},
|
||||||
confirm() {
|
confirm() {
|
||||||
|
|
Loading…
Reference in New Issue