meixioacomponent 0.9.69 → 0.9.71
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/lib/components/index.d.ts +1 -1
- package/lib/config/use/UseImg.d.ts +1 -1
- package/lib/config/use/UseImg.d.ts.map +1 -1
- package/lib/config/use/UseImg.js +7 -6
- package/lib/meixioacomponent.common.js +56243 -54134
- package/lib/meixioacomponent.umd.js +54750 -52641
- package/lib/meixioacomponent.umd.min.js +27 -27
- package/lib/style/element/index.css +2 -2
- package/package.json +10 -9
- package/packages/components/base/baseImageViewer/image-viewer.vue +1 -0
- package/packages/components/base/baseNumberInput/index.vue +1 -1
- package/packages/components/base/baseText/index.vue +11 -4
- package/packages/components/proPageTable/oa_pro_table.vue +16 -1
- package/packages/components/style/element/index.css +2 -2
- package/packages/config/use/UseImg.js +8 -6
- package/packages/config/use/UseImg.ts +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UseImg.d.ts","sourceRoot":"","sources":["../../../packages/config/use/UseImg.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,qBAAqB,EAAE,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AAG3E,cAAM,MAAO,YAAW,gBAAgB;IACpC,YAAY,EAAE,qBAAqB,GAAG,IAAI,CAAC;;IAM3C,MAAM,CAAC,IAAI,EAAE,GAAG,EAAE;IAoBlB,OAAO;
|
|
1
|
+
{"version":3,"file":"UseImg.d.ts","sourceRoot":"","sources":["../../../packages/config/use/UseImg.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,qBAAqB,EAAE,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AAG3E,cAAM,MAAO,YAAW,gBAAgB;IACpC,YAAY,EAAE,qBAAqB,GAAG,IAAI,CAAC;;IAM3C,MAAM,CAAC,IAAI,EAAE,GAAG,EAAE;IAoBlB,OAAO,aAON;CACJ;AAED,QAAA,IAAI,MAAM,QAAe,CAAC;AAE1B,eAAe,MAAM,CAAC"}
|
package/lib/config/use/UseImg.js
CHANGED
|
@@ -9,6 +9,13 @@ const DynamicMountClass_1 = __importDefault(require("../../components/dynamicmou
|
|
|
9
9
|
const componentConfig_1 = __importDefault(require("../componentConfig"));
|
|
10
10
|
class UseImg {
|
|
11
11
|
constructor() {
|
|
12
|
+
this.destroy = () => {
|
|
13
|
+
if (this.dynamicMount) {
|
|
14
|
+
let referComponent = this.dynamicMount.getComponent();
|
|
15
|
+
referComponent.$destroy();
|
|
16
|
+
this.dynamicMount = null;
|
|
17
|
+
}
|
|
18
|
+
};
|
|
12
19
|
this.dynamicMount = null;
|
|
13
20
|
}
|
|
14
21
|
toView(list) {
|
|
@@ -29,12 +36,6 @@ class UseImg {
|
|
|
29
36
|
this.dynamicMount.init();
|
|
30
37
|
});
|
|
31
38
|
}
|
|
32
|
-
destroy() {
|
|
33
|
-
if (this.dynamicMount) {
|
|
34
|
-
let referComponent = this.dynamicMount.getComponent();
|
|
35
|
-
referComponent.$destroy();
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
39
|
}
|
|
39
40
|
let useImg = new UseImg();
|
|
40
41
|
exports.default = useImg;
|