@fmdeui/fmui 1.0.64 → 1.0.65
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/es/packages/components/fmtree/index.vue2.mjs +4 -4
- package/index.js +5 -5
- package/index.min.js +5 -5
- package/index.min.mjs +5 -5
- package/index.mjs +5 -5
- package/lib/packages/components/fmtree/index.vue2.js +4 -4
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/package.json +1 -1
- /package/es/{defaults.css → component.css} +0 -0
- /package/lib/{defaults.css → index.css} +0 -0
|
@@ -114,10 +114,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
const emit = __emit;
|
|
117
|
-
const nodeClick = (node
|
|
118
|
-
|
|
119
|
-
modeValue.value = { id: node.id, name: node.name, code:
|
|
120
|
-
emit("node-click", { id: node.id, name: node.name, code:
|
|
117
|
+
const nodeClick = (node) => {
|
|
118
|
+
const reldata = state.folderData.find((item) => item.id == node.id);
|
|
119
|
+
modeValue.value = { id: node.id, name: node.name, code: reldata ? reldata.code : "" };
|
|
120
|
+
emit("node-click", { id: node.id, name: node.name, code: reldata ? reldata.code : "" });
|
|
121
121
|
};
|
|
122
122
|
const setCurrentKey = (key, shouldAutoExpandParent) => {
|
|
123
123
|
var _a;
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.65 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vxe-table'), require('@vxe-ui/plugin-render-element'), require('@vxe-ui/plugin-export-xlsx'), require('vxe-pc-ui'), require('exceljs'), require('@element-plus/icons-vue'), require('vue'), require('element-plus'), require('lodash-es'), require('js-cookie'), require('pinia'), require('@vueuse/core'), require('crypto-js'), require('xlsx-js-style'), require('vue-i18n'), require('vue-router'), require('sortablejs'), require('screenfull'), require('push.js'), require('mitt'), require('@microsoft/signalr'), require('axios')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'vxe-table', '@vxe-ui/plugin-render-element', '@vxe-ui/plugin-export-xlsx', 'vxe-pc-ui', 'exceljs', '@element-plus/icons-vue', 'vue', 'element-plus', 'lodash-es', 'js-cookie', 'pinia', '@vueuse/core', 'crypto-js', 'xlsx-js-style', 'vue-i18n', 'vue-router', 'sortablejs', 'screenfull', 'push.js', 'mitt', '@microsoft/signalr', 'axios'], factory) :
|
|
@@ -26265,10 +26265,10 @@
|
|
|
26265
26265
|
}
|
|
26266
26266
|
};
|
|
26267
26267
|
const emit = __emit;
|
|
26268
|
-
const nodeClick = (node
|
|
26269
|
-
|
|
26270
|
-
modeValue.value = { id: node.id, name: node.name, code:
|
|
26271
|
-
emit("node-click", { id: node.id, name: node.name, code:
|
|
26268
|
+
const nodeClick = (node) => {
|
|
26269
|
+
const reldata = state.folderData.find((item) => item.id == node.id);
|
|
26270
|
+
modeValue.value = { id: node.id, name: node.name, code: reldata ? reldata.code : "" };
|
|
26271
|
+
emit("node-click", { id: node.id, name: node.name, code: reldata ? reldata.code : "" });
|
|
26272
26272
|
};
|
|
26273
26273
|
const setCurrentKey = (key, shouldAutoExpandParent) => {
|
|
26274
26274
|
var _a;
|