| | |
| | | <!-- |
| | | * @Author: 李喆(开发组) lzhe@yxqiche.com |
| | | * @Date: 2025-08-11 09:25:36 |
| | | * @LastEditors: 李喆(开发组) lzhe@yxqiche.com |
| | | * @LastEditTime: 2025-08-12 17:45:42 |
| | | * @FilePath: /mdmweb/src/views/wel/index.vue |
| | | * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE |
| | | --> |
| | | <template> |
| | | <shemi v-if="isSM"></shemi> |
| | | <gongkong v-else></gongkong> |
| | |
| | | }, |
| | | mounted() { |
| | | //判断版本 0:涉密网,1:工控网; |
| | | // axios({url: '/blade-mdm/system/param/getValue?paramKey=networkType',method: 'get'}).then(res => { |
| | | // if(res.data.data === "0") { |
| | | // this.isSM = true; |
| | | // }else { |
| | | // this.getPre(); |
| | | // } |
| | | // } |
| | | // ); |
| | | axios({url: '/blade-mdm/system/param/getValue?paramKey=networkType',method: 'get'}).then(res => { |
| | | if(res.data.data === "0") { |
| | | this.isSM = true; |
| | | }else { |
| | | this.getPre(); |
| | | } |
| | | } |
| | | ); |
| | | } |
| | | }; |
| | | </script> |