Explorar el Código

二维码,多选中文

CharlesLeocc hace 3 años
padre
commit
ec99f13444

+ 2 - 2
src/vendor/multiselect/js/bootstrap-multiselect.js

@@ -415,9 +415,9 @@
             filterBehavior: 'text',
             includeFilterClearBtn: true,
             preventInputChangeEvent: false,
-            nonSelectedText: 'None selected',
+            nonSelectedText: '请选择',
             nSelectedText: 'selected',
-            allSelectedText: 'All selected',
+            allSelectedText: '全部选择',
             numberDisplayed: 3,
             disableIfEmpty: false,
             disabledText: '',

+ 3 - 3
src/widgets/QrCode/Widget.ts

@@ -66,14 +66,14 @@ class QrCode extends BaseWidget {
         console.log(this.appUrl);
     }
     openQrCodePopup(){
-        this.popup.setSize(250, 300);
+        this.popup.setSize(350, 400);
         var popupQrCodeImg = "<div id='qeCodeInfo-body' style='display:flex;justify-content:center'></div>";
         var Obj = this.popup.show("扫描下载客户端", popupQrCodeImg,true);
         $(".widget-popup").find(".content-btn").hide();
         var qrCodeInit = new QRCode(document.getElementById("qeCodeInfo-body"), {
             text: this.appUrl,
-            width: 150,
-            height: 150,
+            width: 260,
+            height: 260,
             colorDark : "#000000",
             colorLight : "#ffffff",
             correctLevel : QRCode.CorrectLevel.H