closeAction.js 344 Bytes
Newer Older
wangcong committed
1 2 3 4 5 6 7 8 9 10 11
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
12
      Bridge.vm.handleCancel()
wangcong committed
13 14 15
    }
	}
}