yh-hiprint 2.3.3 → 2.3.5
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/libs/hiprint.bundle.js +1 -1
- package/package.json +1 -1
- package/scale.js +2 -3
package/libs/hiprint.bundle.js
CHANGED
package/package.json
CHANGED
package/scale.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import $ from "jquery";
|
|
2
1
|
export default (function () {
|
|
3
|
-
function t() {
|
|
2
|
+
function t () {
|
|
4
3
|
// json模板 options 对应键值 key
|
|
5
4
|
this.name = "scale";
|
|
6
5
|
}
|
|
@@ -17,7 +16,7 @@ export default (function () {
|
|
|
17
16
|
(t.prototype.createTarget = function (t, i, e) {
|
|
18
17
|
// t: 元素对象,i: 元素options, e: 元素printElementType
|
|
19
18
|
return (
|
|
20
|
-
(this.target =
|
|
19
|
+
(this.target = hiprintJQuery(
|
|
21
20
|
'<div class="hiprint-option-item">\n <div class="hiprint-option-item-label">\n 缩放\n </div>\n <div class="hiprint-option-item-field">\n <input type="number" value="1" step="0.1" min="0.1" max="3" class="auto-submit"/>\n </div>\n </div>'
|
|
22
21
|
)),
|
|
23
22
|
this.target
|