oak-general-business/lib/pages/domain/detail/index.js

37 lines
745 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = OakComponent({
isList: false,
entity: 'domain',
projection: {
id: 1,
systemId: 1,
url: 1,
apiPath: 1,
port: 1,
protocol: 1,
},
formData: function (_a) {
var data = _a.data;
return data || {};
},
observers: {
tab: function (tab) {
this.setState({
tabValue: tab,
});
},
},
lifetimes: {
attached: function () {
this.setState({
tabValue: this.props.tab,
});
},
},
methods: {
onTabClick: function (key) {
},
},
});