@cmstops/pro-compo 0.3.50 → 0.3.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -61,7 +61,7 @@ const _sfc_main = defineComponent({
|
|
|
61
61
|
window.open(`${BASE_API}/foowz/#/account`, "_blank");
|
|
62
62
|
};
|
|
63
63
|
const domainClick = async (item) => {
|
|
64
|
-
const res = await domainSelect(
|
|
64
|
+
const res = await domainSelect(BASE_ACCOUNT_HOST, item.id);
|
|
65
65
|
if (res.code === 0 && res.message) {
|
|
66
66
|
window.location.href = res.message;
|
|
67
67
|
}
|
|
@@ -84,7 +84,7 @@ const _sfc_main = defineComponent({
|
|
|
84
84
|
"content-style": { padding: 0 }
|
|
85
85
|
}, {
|
|
86
86
|
content: withCtx(() => {
|
|
87
|
-
var _a;
|
|
87
|
+
var _a, _b;
|
|
88
88
|
return [
|
|
89
89
|
createElementVNode("div", _hoisted_4, [
|
|
90
90
|
createElementVNode("div", _hoisted_5, [
|
|
@@ -108,7 +108,7 @@ const _sfc_main = defineComponent({
|
|
|
108
108
|
createElementVNode("div", _hoisted_8, toDisplayString(userInfo.value.name), 1),
|
|
109
109
|
createElementVNode("div", _hoisted_9, toDisplayString(userInfo.value.mail || "\u6682\u65E0\u90AE\u7BB1"), 1),
|
|
110
110
|
((_a = userInfo.value.domains) == null ? void 0 : _a.length) === 1 && userInfo.value.currentDomain ? (openBlock(), createElementBlock("div", _hoisted_10, toDisplayString(userInfo.value.currentDomain), 1)) : createCommentVNode("v-if", true),
|
|
111
|
-
|
|
111
|
+
((_b = userInfo.value.domains) == null ? void 0 : _b.length) > 1 ? (openBlock(), createBlock(unref(Dropdown), { key: 1 }, {
|
|
112
112
|
content: withCtx(() => [
|
|
113
113
|
(openBlock(true), createElementBlock(Fragment, null, renderList(userInfo.value.domains, (item, index) => {
|
|
114
114
|
return openBlock(), createBlock(unref(Doption), {
|
|
@@ -131,7 +131,7 @@ const _sfc_main = defineComponent({
|
|
|
131
131
|
})
|
|
132
132
|
]),
|
|
133
133
|
_: 1
|
|
134
|
-
}),
|
|
134
|
+
})) : createCommentVNode("v-if", true),
|
|
135
135
|
createElementVNode("div", _hoisted_11, [
|
|
136
136
|
createVNode(unref(Button), {
|
|
137
137
|
type: "text",
|
|
@@ -62,7 +62,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
62
62
|
window.open(`${BASE_API}/foowz/#/account`, "_blank");
|
|
63
63
|
};
|
|
64
64
|
const domainClick = async (item) => {
|
|
65
|
-
const res = await api.domainSelect(
|
|
65
|
+
const res = await api.domainSelect(BASE_ACCOUNT_HOST, item.id);
|
|
66
66
|
if (res.code === 0 && res.message) {
|
|
67
67
|
window.location.href = res.message;
|
|
68
68
|
}
|
|
@@ -85,7 +85,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
85
85
|
"content-style": { padding: 0 }
|
|
86
86
|
}, {
|
|
87
87
|
content: vue.withCtx(() => {
|
|
88
|
-
var _a;
|
|
88
|
+
var _a, _b;
|
|
89
89
|
return [
|
|
90
90
|
vue.createElementVNode("div", _hoisted_4, [
|
|
91
91
|
vue.createElementVNode("div", _hoisted_5, [
|
|
@@ -109,7 +109,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
109
109
|
vue.createElementVNode("div", _hoisted_8, vue.toDisplayString(userInfo.value.name), 1),
|
|
110
110
|
vue.createElementVNode("div", _hoisted_9, vue.toDisplayString(userInfo.value.mail || "\u6682\u65E0\u90AE\u7BB1"), 1),
|
|
111
111
|
((_a = userInfo.value.domains) == null ? void 0 : _a.length) === 1 && userInfo.value.currentDomain ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10, vue.toDisplayString(userInfo.value.currentDomain), 1)) : vue.createCommentVNode("v-if", true),
|
|
112
|
-
vue.
|
|
112
|
+
((_b = userInfo.value.domains) == null ? void 0 : _b.length) > 1 ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Dropdown), { key: 1 }, {
|
|
113
113
|
content: vue.withCtx(() => [
|
|
114
114
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(userInfo.value.domains, (item, index) => {
|
|
115
115
|
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Doption), {
|
|
@@ -132,7 +132,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
132
132
|
})
|
|
133
133
|
]),
|
|
134
134
|
_: 1
|
|
135
|
-
}),
|
|
135
|
+
})) : vue.createCommentVNode("v-if", true),
|
|
136
136
|
vue.createElementVNode("div", _hoisted_11, [
|
|
137
137
|
vue.createVNode(vue.unref(webVue.Button), {
|
|
138
138
|
type: "text",
|