()
| 11 | }, |
| 12 | methods: { |
| 13 | getStaticUrl() { |
| 14 | const scripts = [].slice.call(document.scripts) |
| 15 | scripts.some(item => { |
| 16 | if (item.src.includes('commonFun.js')) { |
| 17 | const reg = /^((https|http|ftp|rtsp|mms)?:\/\/)[^\s]+\/iframe/ |
| 18 | const nowUrl = item.src.match(reg)[0] |
| 19 | this.staticUrl = nowUrl; |
| 20 | return true; |
| 21 | } |
| 22 | }) |
| 23 | }, |
| 24 | async handlerBluePrintConfig(bluePrintConfig, sourceData) { |
| 25 | // 执行蓝图编辑器的配置交互 |
| 26 | for (const key in bluePrintConfig) { |
nothing calls this directly
no outgoing calls
no test coverage detected