@uxda/appkit 4.0.18 → 4.1.2
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.
package/dist/index.js
CHANGED
|
@@ -311,6 +311,7 @@ function useCrypto(config) {
|
|
|
311
311
|
return result;
|
|
312
312
|
};
|
|
313
313
|
const resolve = (list, field) => {
|
|
314
|
+
if (list.length === 0) return [];
|
|
314
315
|
const [first] = list, f = field ? Array.isArray(field) ? field : [field] : Object.entries(first).filter(([_, v]) => /^\{.*\}$/.test(v)).map(([k]) => k);
|
|
315
316
|
return list.map((item) => {
|
|
316
317
|
let result = { ...item };
|
|
@@ -5718,6 +5719,7 @@ var script$8 = /* @__PURE__ */ defineComponent({
|
|
|
5718
5719
|
createElementVNode("div", _hoisted_22, [
|
|
5719
5720
|
createVNode(_component_nut_button, {
|
|
5720
5721
|
class: "user-info-ft-btn",
|
|
5722
|
+
style: { "width": "100%" },
|
|
5721
5723
|
onClick: toLogout,
|
|
5722
5724
|
plain: "",
|
|
5723
5725
|
type: "primary"
|
package/package.json
CHANGED
|
@@ -110,7 +110,12 @@
|
|
|
110
110
|
</div>
|
|
111
111
|
|
|
112
112
|
<div class="user-info-ft">
|
|
113
|
-
<nut-button
|
|
113
|
+
<nut-button
|
|
114
|
+
class="user-info-ft-btn"
|
|
115
|
+
style="width: 100%"
|
|
116
|
+
@click="toLogout"
|
|
117
|
+
plain
|
|
118
|
+
type="primary"
|
|
114
119
|
>退出登录</nut-button
|
|
115
120
|
>
|
|
116
121
|
</div>
|