diff --git a/app/pages/IoTSolutions/Internet_Things_IOT.vue b/app/pages/IoTSolutions/Internet_Things_IOT.vue index 0e1c92d..2a01ef4 100644 --- a/app/pages/IoTSolutions/Internet_Things_IOT.vue +++ b/app/pages/IoTSolutions/Internet_Things_IOT.vue @@ -14,7 +14,7 @@ onMounted(() => { const loadJSFiles = () => { const jsFiles = [ - '/js/jquery-1.11.3.min.js', + '/js/jquery.1.11.3.min.js', '/js/bootstrap.min.js', '/js/index.js', diff --git a/app/pages/IoTSolutions/Internet_Things_hardware.vue b/app/pages/IoTSolutions/Internet_Things_hardware.vue index 34c3323..a07f9c5 100644 --- a/app/pages/IoTSolutions/Internet_Things_hardware.vue +++ b/app/pages/IoTSolutions/Internet_Things_hardware.vue @@ -15,7 +15,7 @@ onMounted(() => { const loadJSFiles = () => { const jsFiles = [ - '/js/jquery-1.11.3.min.js', + '/js/jquery.1.11.3.min.js', '/js/bootstrap.min.js', '/js/index.js', diff --git a/app/pages/sharedSolutions/sharebank.vue b/app/pages/sharedSolutions/sharebank.vue index ce56d19..4bf9b73 100644 --- a/app/pages/sharedSolutions/sharebank.vue +++ b/app/pages/sharedSolutions/sharebank.vue @@ -6,31 +6,25 @@ onMounted(() => { loadCSSFiles() // 加载JavaScript文件 - loadJSFiles() + // loadJSFiles() }) -const loadJSFiles = () => { - const jsFiles = [ - '/js/jquery-1.11.3.min.js', - '/js/bootstrap.min.js', - - - '/js/gopcOm.js' - - - ] - - jsFiles.forEach(src => { - // 检查是否已经加载过该JS文件 - const existingScript = document.querySelector(`script[src="${src}"]`) - if (!existingScript) { - const script = document.createElement('script') - script.src = src - script.type = 'text/javascript' - document.head.appendChild(script) - } - }) -} +// const loadJSFiles = () => { +// const jsFiles = [ +// // '/js/jquery.1.11.3.min.js', +// // '/js/bootstrap.min.js', +// ] +// +// jsFiles.forEach(src => { +// // 检查是否已经加载过该JS文件 +// +// const script = document.createElement('script') +// script.src = src +// script.type = 'text/javascript' +// document.head.appendChild(script) +// +// }) +// } const loadCSSFiles = () => { const cssFiles = [ diff --git a/app/pages/softwareDevelopment/MiniProgram.vue b/app/pages/softwareDevelopment/MiniProgram.vue index 703b59c..b313b27 100644 --- a/app/pages/softwareDevelopment/MiniProgram.vue +++ b/app/pages/softwareDevelopment/MiniProgram.vue @@ -15,7 +15,7 @@ onMounted(() => { const loadJSFiles = () => { const jsFiles = [ - '/js/jquery-1.11.3.min.js', + '/js/jquery.1.11.3.min.js', '/js/bootstrap.min.js', '/js/index.js', '/js/gopcOm.js'