CRM_25-12-09#story#7484,供应商培训材料问答编辑优化-添加调试

This commit is contained in:
2025-12-04 09:40:31 +08:00
parent 811f232a73
commit f3716466e9
2 changed files with 7 additions and 3 deletions

View File

@@ -31,14 +31,14 @@
} }
</script> </script>
<script type="text/javascript" src="https://webapi.amap.com/maps?v=2.0&key=2560bbf04daef66c810c5e6a97e8c508&plugin=AMap.AutoComplete,AMap.PlaceSearch,AMap.Geolocation,AMap.Geocoder,AMap.Marker,AMap.Driving"></script> <script type="text/javascript" src="https://webapi.amap.com/maps?v=2.0&key=2560bbf04daef66c810c5e6a97e8c508&plugin=AMap.AutoComplete,AMap.PlaceSearch,AMap.Geolocation,AMap.Geocoder,AMap.Marker,AMap.Driving"></script>
<!-- <script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>--> <script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
<script> <script>
window.selfLink = window.location.href; window.selfLink = window.location.href;
window.selfSearch = window.location.search; window.selfSearch = window.location.search;
</script> </script>
<script> <script>
// VConsole 默认会挂载到 `window.VConsole` 上 // VConsole 默认会挂载到 `window.VConsole` 上
// let vConsole = new window.VConsole(); let vConsole = new window.VConsole();
(function (doc, win) { (function (doc, win) {
// console.log("==window.location.pathname===",window.location.pathname) // console.log("==window.location.pathname===",window.location.pathname)
let docEl = doc.documentElement let docEl = doc.documentElement

View File

@@ -76,7 +76,11 @@ export default {
numInfo:'', numInfo:'',
} }
}, },
activated() {
console.log('activated')
},
mounted() { mounted() {
console.log('mounted')
const urlParams = new URLSearchParams(window.location.search); const urlParams = new URLSearchParams(window.location.search);
this.supplierId = urlParams.get('supplierId'); this.supplierId = urlParams.get('supplierId');
this.keyword=urlParams.get('keyword') || '' this.keyword=urlParams.get('keyword') || ''
@@ -145,7 +149,7 @@ export default {
} }
}, },
initShow(){ initShow(){
this.keyword= '', this.keyword= ''
this.getTrainingList() this.getTrainingList()
} }
} }