JsonSql

https://gitee.com/JeeHuangBingGui/JsonSql/

第三方异步加载包

window.$loadOpen = {
  //{cdn} 对应的值 https://cdn.rg1008.com
  //手机端调试
  "vconsole": "{cdn}/plugins/vconsole/3.1.0/vconsole.min.js",
  //https://docs.microsoft.com/zh-cn/aspnet/core/signalr/introduction?view=aspnetcore-5.0
  signalr: "{cdn}/plugins/signalr/1.1.4/signalr.min.js",
  echart: "{cdn}/plugins/echarts/4.8.0/echarts.min.js",
  "echarts-gl": "{cdn}/plugins/echarts-gl/4.8.0/echarts-gl.min.js",
  "jexcel-css": "{cdn}/plugins/jexcel/4.4.2/jexcel.min.css",
  jexcel: "{cdn}/plugins/jexcel/4.4.2/jexcel.min.js",
  sheetjs: "{cdn}/plugins/sheetjs/2013/xlsx.full.min.js",
  // sheetjs: "{cdn}/plugins/sheetjs/2013/xlsx.mini.min.js",
  "jsuites-css": "{cdn}/plugins/jsuites/3.8.2/jsuites.min.css",
  // jsuites: "https://bossanova.uk/jsuites/v3/jsuites.js",
  jsuites: "{cdn}/plugins/jsuites/3.8.2/jsuites.min.js",
  shielding: "{cdn}/plugins/shielding/1.0.0/shielding.min.js",
  tinymce: "{cdn}/plugins/tinymce/5.0.4/tinymce.min.js",
  "leaflet-css": "{cdn}/plugins/leaflet/1.4.0/leaflet.css",
  "leaflet-mini-map-css": "{cdn}/plugins/leaflet-mini-map/1.4.0/Control.MiniMap.min.css",
  "leaflet-mini-map": "{cdn}/plugins/leaflet-mini-map/1.4.0/Control.MiniMap.min.js",
  //https://leafletjs.com/download.html 1.4.0
  leaflet: "{cdn}/plugins/leaflet/1.7.1/leaflet.js",
  "leaflet-chinesetms-providers": "{cdn}/plugins/leaflet.ChineseTmsProviders/2.0.3/leaflet.ChineseTmsProviders.js",
  "leaflet-fullscreen": "{cdn}/plugins/leaflet-fullscreen/1.0.1/Leaflet.fullscreen.min.js",
  jquery: "{cdn}/plugins/jquery/3.4.1/jquery.min.js",
  baidu: "https://api.map.baidu.com/api?v=2.0&ak={baiduAk}",
  animate: "{cdn}/plugins/animate/3.7.0/animate.min.css",
  //"element-css": "{cdn}/plugins/element-ui/2.13.2/lib/theme-chalk/index.css",
  "element-css": "{cdn}/plugins/element-ui/2.15.1/lib/theme-chalk/index.css",
  "element-ui": "{cdn}/plugins/element-ui/2.15.1/lib/index.js",
  // "vant-css": "{cdn}/plugins/vant/2.8/lib/index.css",
  "vant-css": "{cdn}/plugins/vant/2.12/lib/index.css",
  "vant": "{cdn}/plugins/vant/2.12/lib/vant.min.js",
  wechatmini: "https://res.wx.qq.com/open/js/jweixin-1.3.0.js",
  "bootstrap-css": "{cdn}/plugins/bootstrap/4.6.0/bootstrap.min.css",
  bootstrap: "{cdn}/plugins/bootstrap/4.6.0/js/bootstrap.min.js",
  "bootstrap-popper": "{cdn}/plugins/bootstrap-popper/1.16.1/js/popper.min.js",
  "local-forage": "{cdn}/plugins/localForage/1.9.0/localforage.min.js",
  //图片转换
  "exif-js": "{cdn}/plugins/exif-js/2.3.0/exif.min.js",
  //数据视图
  "datav": "{cdn}/plugins/datav/2.10.0/datav.min.vue.js",

};

平台已导入的插件

if (dev) {
      cdn.css.push(`https://unpkg.com/element-ui/lib/theme-chalk/index.css`);
      // cdn.css.push(`https://cdn.jsdelivr.net/npm/vant@2.8/lib/index.css`);
      cdn.css.push(`https://cdn.jsdelivr.net/npm/vant@2.12/lib/index.css`);
      // cdn.css.push(`https://cdn.jsdelivr.net/npm/@nutui/nutui@2.2.7/dist/nutui.min.css`);
      cdn.js.push(`https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js`);
    } else {
      // cdn.css.push(`${root}/plugins/element-ui/2.15.1/lib/theme-chalk/index.css`);
      // cdn.css.push(`${root}/plugins/vant/2.8/lib/index.css`);
      // cdn.css.push(`${root}/plugins/vant/2.12/lib/index.css`);
      //  cdn.css.push(`${root}/plugins/nutui/2.2.7/nutui.min.css`);
      cdn.js.push(`${root}/plugins/jquery/3.4.1/jquery.min.js`);
      //http://localforage.docschina.org/#  本地存储
      //https://github.com/localForage/localForage
      cdn.js.push(`${root}/plugins/localForage/1.9.0/localforage.min.js`);
    }

    if (dev) {
      cdn.js.push(`https://lib.baomitu.com/vue/2.6.11/vue.min.js`);
      cdn.js.push(`https://unpkg.com/element-ui@2.15.1/lib/index.js`);
      // cdn.js.push(`https://cdn.jsdelivr.net/npm/vant@2.8/lib/vant.min.js`);
      cdn.js.push(`https://cdn.jsdelivr.net/npm/vant@2.12/lib/vant.min.js`);
      // cdn.js.push(`https://cdn.jsdelivr.net/npm/@nutui/nutui@2.2.7/dist/nutui.min.js`);
      cdn.js.push(`https://cdn.bootcss.com/vue-router/3.2.0/vue-router.min.js`);
      cdn.js.push(`https://cdn.bootcss.com/vuex/3.2.0/vuex.min.js`);
      cdn.js.push(`https://cdn.bootcss.com/axios/0.19.2/axios.min.js`);
      cdn.js.push(`https://cdn.bootcss.com/dayjs/1.8.27/dayjs.min.js`);
      //cdn.js.push(`//res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js`);
    } else {
        cdn.js.push(`${root}/plugins/vue/2.6.11/vue.min.js`);
        cdn.js.push(`${root}/plugins/element-ui/2.15.1/lib/index.js`);
        // cdn.js.push(`${root}/plugins/vant/2.8/lib/vant.min.js`);
        cdn.js.push(`${root}/plugins/vant/2.12/lib/vant.min.js`);
        //cdn.js.push(`${root}/plugins/nutui/2.2.7/nutui.min.js`);
        cdn.js.push(`${root}/plugins/vue-router/3.2.0/vue-router.min.js`);
        cdn.js.push(`${root}/plugins/vuex/3.4.0/vuex.min.js`);
        cdn.js.push(`${root}/plugins/axios/0.19.2/axios.min.js`);
        cdn.js.push(`${root}/plugins/dayjs/1.8.27/dayjs.min.js`);
    }
文档更新时间: 2024-02-25 09:52   作者:admin