closeAction.js 343 Bytes
Newer Older
wangcong committed
1 2 3 4 5 6 7 8 9 10
import Bridge from '../components-control/util/bridge'
export default {
	execute: function (bill, param) {
    if (
      window.osConfig.appOpenMode &&
      window.osConfig.appOpenMode == "apploader"
    ) {
      GMS.$hideContainer.$portalAPI.emit('entry-tag-close')
    }
    else if (Bridge.vm) {
袁成 committed
11
      Bridge.vm.handleCancel()
wangcong committed
12 13 14
    }
	}
}