mxx 3 سال پیش
والد
کامیت
e9046ffbf9

+ 1 - 1
public/static/weightCheck.html

@@ -421,7 +421,7 @@
         printSmall() {},
         printBig() {},
       },
-      mounted() {debugger
+      mounted() {
         let _data = decodeURIComponent(this.getQueryVariable("tableData"))
         let _type = decodeURIComponent(this.getQueryVariable("type"))
         this.pageType = decodeURIComponent(this.getQueryVariable("radioType"))

+ 0 - 2
src/components/mapdrag/indexMap.vue

@@ -117,7 +117,6 @@
     },
     watch: {},
     async created() {
-      // debugger
       // // 已载入高德地图API,则直接初始化地图
       // if (window.AMap && window.AMapUI && window.Loca) {
       //   this.loadmap()
@@ -131,7 +130,6 @@
     },
     mounted() {
       AMapLoader.reset();
-      delete window.AMap;
       AMapLoader.load({
         "key": "211dd6f989e719022aaf47ddb0659c47", // 申请好的Web端开发者Key,首次调用 load 时必填
         "version": "2.0", // 指定要加载的 JSAPI 的版本,缺省时默认为 1.4.15

+ 0 - 2
src/components/mapdrag/mapdrag.vue

@@ -170,12 +170,10 @@
     async created() {
       // 已载入高德地图API,则直接初始化地图
       if (window.AMap && window.AMapUI) {
-        this.initMap()
         // 未载入高德地图API,则先载入API再初始化
       } else {
         await remoteLoad(`http://webapi.amap.com/maps?v=1.3&key=${MapKey}`)
         await remoteLoad('http://webapi.amap.com/ui/1.0/main.js')
-        this.initMap()
       }
     },
     mounted() {

+ 2 - 2
src/utils/remoteLoad.js

@@ -1,11 +1,11 @@
-export default function remoteLoad (url, hasCallback) {debugger
+export default function remoteLoad (url, hasCallback) {
   return createScript(url)
   /**
    * 创建script
    * @param url
    * @returns {Promise}
    */
-  function createScript (url) {debugger
+  function createScript (url) {
     let scriptElement = document.createElement('script')
     document.body.appendChild(scriptElement)
     let promise = new Promise((resolve, reject) => {

+ 0 - 1
src/views/contractManagement/purchaseContractAdd.vue

@@ -733,7 +733,6 @@
       },
       selectRelation(e) {
         // console.log(this.contractNoList)
-        // debugger
         for (var i = 0; i < this.contractNoList.length; i++) {
           if (this.contractNoList[i].contractNo == e) {
             this.deptBudgetList = this.contractNoList[i]

+ 0 - 3
src/views/home/index.vue

@@ -352,7 +352,6 @@
       //获取新闻列表
       // this.getNewList()
       getChartsData().toPromise().then(res => {
-        debugger
         console.log(res)
         this.chartsData = res
         this.initCharts()
@@ -421,11 +420,9 @@
         this.nowTime = this.hour + ":" + this.minute + ":" + this.second;
       },
       initCharts() {
-        debugger
         let app = this;
         var roseCharts = document.getElementsByClassName("roseChart");
         for (let i = 0; i < roseCharts.length; i++) {
-          debugger
           let myChart = app.$echarts.init(roseCharts[i]);
           let color = []
           let data = []

+ 0 - 1
src/views/newTask/listPage.vue

@@ -409,7 +409,6 @@ export default {
             })
             })
           }else{
-            debugger
             console.log(url)
              this.$router.push({
               name: url