Vue和Element UI 路由跳转

news2024/9/23 9:23:35

在Vue.js中,使用Vue Router可以方便地实现页面之间的路由跳转。Element UI是一个基于Vue 2.0的桌面端组件库,它本身并不直接提供路由跳转的功能,但你可以在使用Element UI的Vue项目中结合Vue Router来实现这一功能。

以下是一个基于Vue和Element UI实现路由跳转的基本步骤:

1.安装Vue Router

如果你还没有安装Vue Router,首先需要安装它。在你的Vue项目目录中打开终端或命令提示符,然后运行以下命令:

npm install vue-router  
# 或者  
yarn add vue-router

 

2. 配置Vue Router

在Vue项目中,你需要在src目录下创建一个router文件夹,并在其中创建一个index.js文件来配置你的路由。以下是一个简单的示例:

 

// src/router/index.js  
  
import Vue from 'vue'  
import Router from 'vue-router'  
import Home from '@/components/Home'  
import About from '@/components/About'  
  
Vue.use(Router)  
  
export default new Router({  
  routes: [  
    {  
      path: '/',  
      name: 'Home',  
      component: Home  
    },  
    {  
      path: '/about',  
      name: 'About',  
      component: About  
    }  
  ]  
})

 

3. 在Vue实例中使用Vue Router

在你的Vue项目的入口文件(通常是src/main.jssrc/main.ts)中,确保你已经导入了Vue Router,并将其添加到Vue的实例中:

// src/main.js  
  
import Vue from 'vue'  
import App from './App.vue'  
import router from './router'  
  
new Vue({  
  router,  
  render: h => h(App),  
}).$mount('#app')

 

4. 使用Element UI组件触发路由跳转

现在,你可以在Vue组件中使用Vue Router的编程式导航功能(如this.$router.push)或声明式导航(<router-link>标签)来触发路由跳转。虽然Element UI本身不直接提供路由跳转组件,但你可以结合Vue Router的<router-link>标签或Vue实例的$router.push方法来在Element UI组件中实现路由跳转。

使用<router-link>

 

<template>  
  <el-button type="primary" @click="goToAbout">Go to About</el-button>  
  <!-- 或者使用router-link -->  
  <router-link to="/about" tag="el-button" type="primary">Go to About</router-link>  
</template>  
  
<script>  
export default {  
  methods: {  
    goToAbout() {  
      this.$router.push('/about');  
    }  
  }  
}  
</script>

<template>
	<div>
		<!--搜索框-->
		<div class="top-wrapper">
			<div class="search el-input el-input--suffix">
				<input
					type="text"
					autocomplete="off"
					placeholder="输入指标名称搜索"
					class="el-input__inner"
				/>
			</div>
		</div>
		<!--中部-->
		<div class="indicator-wrapper">
			<!--侧边栏   -->
			<div class="indicator-side">
				<a
					:class="{
						'indicator-category': true,
						'indicator-category-active': item.checked
					}"
					v-for="item in sideList"
					:key="item.id"
					@click.prevent="categoryClick(item)"
					href="#!"
				>
					{{ item.groupName }}
				</a>
			</div>
			<!--中间选择器   -->
			<div class="indicator-body">
				<div
					class="indicator-block"
					v-for="item in sideList"
					:key="item.id"
					:id="item.id"
				>
					<div class="indicator-group">
						<span class="indicator-title">{{ item.groupName }} </span>
					</div>
					<div class="el-row">
						<div class="el-col el-col-8" v-for="el in item.child" :key="el.id">
							<el-checkbox v-model="el.checked" class="el-checkbox__input el-checkbox"
								><span class="el-checkbox__label">{{ el.label }}</span></el-checkbox
							>
						</div>
					</div>
				</div>
			</div>
			<!--拖拽-->
			<div class="flex">
				<div class="indicator-drag">
					<div class="indicator-content">
						<div class="drag-title">已选指标</div>
						<div class="drag-sec">拖动可自定义指标顺序</div>
						<div class="indicator-limit_low">
							<div class="drag-block not-allow mg2">账号ID</div>
						</div>
						<div class="drag-sepreate">以上指标将横向固定</div>
					</div>
					<div class="indicator-limit-many" style="max-height: 445px">
						<section
							v-draggable="[
								drag,
								{
									animation: 150,
									ghostClass: 'ghost',
									group: 'people',
									onUpdate,
									onAdd,
									onRemove
								}
							]"
							class="flex flex-col gap-2 p-4 w-300px h-300px m-auto bg-gray-500/5 rounded overflow-auto"
						>
							<div
								v-for="item in drag"
								:key="item.id"
								class="drag-block hover-class all-scroll mg2"
								@click="dragClick(item)"
							>
								{{ item.name }}
								<el-icon
									@click="removeItem(item.id)"
									style="
										float: right;
										align-items: center;
										position: relative;
										top: 8px;
									"
									class="mg-icon-close close"
								>
									<close />
								</el-icon>
							</div>
						</section>
						<div class="flex justify-between">
							<preview-list :list="drag" />
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</template>

<script setup lang="ts">
import { ref } from "vue";
import { vDraggable } from "vue-draggable-plus";
import { Close } from "@element-plus/icons-vue";

const sideList = ref([
	{
		id: 1,
		groupName: "基本信息",
		child: [
			{
				prop: "uuid",
				label: "账号ID"
			},
			{
				prop: "name",
				label: "名称",
			},
			{
				prop: "companyName",
				label: "公司名称",
			},
			{
				prop: "allBalance",
				label: "总余额",
			}
		]
	},
	{
		id: 2,
		groupName: "展现数据",
		child: [
			{
				prop: "updateTime",
				label: "消耗"
			},
			{
				prop: "summary.spent",
				label: "曝光量"
			},
			{
				prop: "summary.clickCount",
				label: "点击量"
			},
			{
				prop: "summary.downloadCount",
				label: "下载量"
			}
		]
	},
	{
		id: 3,
		groupName: "转化数据",
		child: [
			{
				prop: "summary.activateCount",
				label: "新增激活数"
			},
			{
				prop: "summary.registerCount",
				label: "游戏注册量"
			},
			{
				prop: "summary.formsubmitCount",
				label: "表单提交量"
			},
			{
				prop: "summary.normalActivateCount",
				label: "普通激活数"
			},
			{
				prop: "summary.backActivateCount",
				label: "自定义激活数"
			},
			{
				prop: "summary.backRegisterCount",
				label: "自定义注册量"
			},
			{
				prop: "summary.addDesktopCount",
				label: "加桌数"
			},
			{
				prop: "summary.customRetainCount",
				label: "自定义次留数"
			},
			{
				prop: "summary.gamePayCount",
				label: "游戏付费数"
			},
			{
				prop: "summary.customPayCount",
				label: "自定义付费数"
			},
			{
				prop: "summary.reactivation",
				label: "自定义拉活"
			},
			{
				prop: "summary.webPay",
				label: "网页购买"
			},
			{
				prop: "summary.gameAppointment",
				label: "游戏预约数"
			},
			{
				prop: "summary.buttonClick",
				label: "按钮点击量"
			},
			{
				prop: "summary.fastappPay",
				label: "快应用付费数"
			},
			{
				prop: "summary.personalizedEvents",
				label: "个性化事件数"
			}

		]
	},
	{
		id: 4,
		groupName: "转化数据(计费时间)",
		child: [
			{
				prop: "summary.activateC",
				label: "新增激活数(按计费时间)"
			},
			{
				prop: "summary.backActivateC",
				label: "自定义激活数(按计费时间)"
			},
			{
				prop: "summary.backRegisterC",
				label: "游戏注册量(按计费时间)"
			},
			{
				prop: "summary.addDesktopC",
				label: "加桌数(按计费时间)"
			},
			{
				prop: "summary.cDownloadCount",
				label: "下载数(按计费时间)"
			},
			{
				prop: "summary.customRetainC",
				label: "自定义次留数(按计费时间)"
			},
			{
				prop: "summary.gamePayC",
				label: "游戏付费数(按计费时间)"
			},
			{
				prop: "summary.customPayC",
				label: "自定义付费数(按计费时间)"
			},
			{
				prop: "summary.reactivationC",
				label: "自定义拉活(按计费时间)"
			},
			{
				prop: "summary.gameAppointmentC",
				label: "游戏预约数(按计费时间)"
			},
			{
				prop: "summary.firstDayRecoveryAdMonetizationC",
				label: "首日回收金额-广告变现(按计费时间)"
			},
			{
				prop: "summary.totalRecoveryAdMonetizationC",
				label: "累计回收金额-广告变现(按计费时间)"
			},
			{
				prop: "summary.firstDayRecoveryPaidRechargeC",
				label: "首日回收金额-充值付费(按计费时间)"
			},
			{
				prop: "summary.totalRecoveryPaidRechargeC",
				label: "累计回收金额-充值付费(按计费时间)"
			},
			{
				prop: "summary.cFastappPay",
				label: "快应用付费数(按计费时间)"
			},
			{
				prop: "summary.cPersonalizedEvents",
				label: "个性化事件数(按计费时间)"
			},
			{
				prop: "summary.cNormalActivateCount",
				label: "普通激活数(按计费时间)"
			},
			{
				prop: "summary.cCreditCount",
				label: "自定义授信数(按计费时间)"
			},
			{
				prop: "summary.cInstallDoneCount",
				label: "安装完成数(按计费时间)"
			},
			{
				prop: "summary.wechatgameRegisterC",
				label: "微信小游戏注册数(按计费时间)"
			},
			{
				prop: "summary.wechatgamePayC",
				label: "微信小游戏付费数(按计费时间)"
			},
			{
				prop: "summary.cReactivationRetentionCount",
				label: "拉活自定义次留数(按计费时间)"
			},
			{
				prop: "summary.creditCount",
				label: "自定义授信数(按转化时间)"
			},
			{
				prop: "summary.installDoneCount",
				label: "安装完成数(按转化时间)"
			},
			{
				prop: "summary.wechatgameRegisterCount",
				label: "微信小游戏注册数(按转化时间)"
			},
			{
				prop: "summary.wechatgamePayCount",
				label: "微信小游戏付费数(按转化时间)"
			},
			{
				prop: "summary.reactivationRetentionCount",
				label: "拉活自定义次留数(按转化时间)"
			},
			{
				prop: "summary.reserveCount",
				label: "日历预约数(按转化时间)"
			},
			{
				prop: "summary.taCount",
				label: "目标用户量(按转化时间)"
			},
			{
				prop: "summary.cTaCount",
				label: "目标用户量(按计费时间)"
			},
			{
				prop: "summary.payOneTimeCount",
				label: "应用付费次数(按转化时间)"
			},
			{
				prop: "summary.cPayOneTimeCount",
				label: "应用付费次数(按计费时间)"
			},
			{
				prop: "summary.payOneTimeAmount",
				label: "应用付费金额(按转化时间)"
			},
			{
				prop: "summary.cPayOneTimeAmount",
				label: "应用付费金额(按计费时间)"
			}
		]
	},
	{
		id: 5,
		groupName: "互动数据",
		child: [
			{
				prop: "summary.identifyCodeCount",
				label: "微信-识别二维码数"
			},
			{
				prop: "summary.addWechatMpaCount",
				label: "微信-添加微信数"
			},
			{
				prop: "summary.dialogueMpaCount",
				label: "微信-用户首次消息数"
			},
			{
				prop: "summary.oneDialogueCount",
				label: "有效咨询数"
			},
			{
				prop: "summary.firstDayRecoveryPaidCount",
				label: "游戏首日首次付费"
			}
		]
	},

]);

const categoryClick = (item) => {
	sideList.value.forEach((el) => (el.checked = false));
	item.checked = !item.checked;
	const element = document.getElementById( item.id);
	if (element) {
		element.scrollIntoView({ behavior: "smooth" });
	}
};

const count = ref(0);

const removeItem = (id) => {
	drag.value = drag.value.filter((item) => item.id != id);
};
// const domeRef = ref<HTMLElement | null>(null);
// const handleClick = (MouseEvent) => {
// 	e.preventDefault();
// };
//拖拽
const drag = ref([
	{
		id: 1,
		name: "账号ID"
	},
	{
		id: 2,
		name: "名称"
	},
	{
		id: 3,
		name: "账户主体"
	},
	{
		id: 4,
		name: "总余额"
	}
]);
const dragClick = (item) => {
	drag.value.forEach((el) => (el.checked = false));
	item.checked = !item.checked;
};

function onUpdate() {
	console.log("update");
}

function onAdd() {
	console.log("add");
}

function onRemove() {
	console.log("remove");
}
</script>

<style scoped lang="scss">
::v-deep .el-scrollbar {
	overflow: hidden;
	height: 100%;
	position: static !important;
}

::v-deep .el-checkbox__input.is-checked .el-checkbox__inner {
	background-color: #409eff;
	//border-color: var(--el-checkbox-checked-input-border-color);
}
//隐藏滚动条
::-webkit-scrollbar-thumb {
	border-radius: 5px;
	background-color: rgb(255, 255, 255, 0.2);
}

::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}
//搜索框
.top-wrapper {
	display: flex;
	justify-content: flex-start;
	margin-bottom: 16px;
}

.top-wrapper .search {
	width: 250px;
}

.el-input {
	position: relative;
	font-size: 14px;
}

.el-input__inner {
	-webkit-appearance: none;
	background-color: #fff;
	background-image: none;
	border-radius: 4px;
	border: 1px solid #dcdfe6;
	box-sizing: border-box;
	color: #606266;
	display: inline-block;
	height: 40px;
	line-height: 40px;
	outline: 0;
	padding: 0 15px;
	transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
	width: 100%;
	font-size: inherit;
	-webkit-transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.el-dialog .el-dialog__body .el-input .el-input__inner {
	padding-left: 8px;
	color: #333;
}

.el-input .el-input__inner {
	height: 32px;
	line-height: 32px;
	border-radius: 2px;
}

//侧边栏
.indicator-side .indicator-category {
	padding-left: 16px;
	font-size: 14px;
	line-height: 40px;
	color: #333;
	cursor: pointer;
	display: block;
}

.indicator-side .indicator-category-active {
	color: #197afb;
	background-color: #d6eaff;
}

//中间基本信息
.indicator-block {
	padding: 16px 0 0 24px;
	border-bottom: 1px solid #eaebec;
}

.indicator-group {
	display: flex;
	justify-content: flex-start;
}

.indicator-title {
	margin-bottom: 16px;
	font-weight: 700;
	color: #333;
}

.el-checkbox__input.is-checked .el-checkbox__label {
	color: #409eff;
}

.el-checkbox__label {
	color: #333;
}

.el-checkbox__label,
.el-radio__label {
	font-size: 12px;
	color: #666;
}

.el-checkbox__label {
	display: inline-block;
	padding-left: 1px;
	line-height: 19px;
	font-size: 12px;
}

//拖拽
.indicator-drag .indicator-content {
	padding: 0 16px;
}

.indicator-drag .drag-title {
	font-size: 14px;
	font-weight: 700;
	line-height: 100%;
	color: #333;
}

.indicator-drag .drag-sec {
	margin: 8px 0;
	font-size: 12px;
	line-height: 100%;
	color: #999;
}
.indicator-drag .drag-sepreate {
	position: relative;
	margin: 16px 0 0;
	font-size: 12px;
	color: #999;
	text-align: center;
}

.indicator-drag .indicator-limit-many {
	max-height: 445px;
	padding: 0 16px;
	margin-top: 16px;
	overflow-x: hidden;
	overflow-y: auto;
}

.indicator-drag .mg2 {
	margin-bottom: 2px;
}

.indicator-drag .drag-block {
	position: relative;
	height: 40px;
	//width: 134px;
	padding: 0 30px 0 36px;
	overflow: hidden;
	line-height: 40px;
	text-overflow: ellipsis;
	white-space: nowrap;
	background-color: #fff;
	border-bottom: 1px solid #e8eaec;
}

.indicator-drag .drag-block .close {
	position: absolute;
	top: 13px;
	line-height: 100%;
	color: #cecece;
	cursor: pointer;
}

//滑动条
.infinite-list {
	width: 160px;
	height: 300px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.infinite-list .infinite-list-item {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding-left: 16px;
	font-size: 14px;
	background: #409eff;
	margin: 10px;
	color: #409eff;
}

.infinite-list .infinite-list-item + .list-item {
	margin-top: 10px;
}

//中部
.indicator-wrapper {
	display: flex;
	width: 832px;
	height: 516px;
	border: 1px solid #eaebec;
	border-radius: 4px;
}

//侧边栏
.indicator-side {
	flex-shrink: 0;
	width: 160px;
	overflow: auto;
	border-right: 1px solid #eaebec;
}

//选择器
.indicator-body {
	width: 672px;
	overflow: auto;
	scroll-behavior: smooth;
}

//右边
.indicator-drag {
	position: absolute;
	top: 0;
	right: 0;
	flex-shrink: 0;
	width: 216px;
	//height: 676px;
	padding: 25px 0;
	overflow: auto;
	background-color: #f8f8f9;
	border-right: 1px solid #eaebec;
}
</style>

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1929960.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

JavaScript进阶(四)---js解构

目录 一.定义&#xff1a; 二.类型&#xff1a; 1.数组解构&#xff1a; 1.1变量和值不匹配的情况 1.2多维数组 2.对象解构 3.对象数组解构 4.函数参数解构 5.扩展运算符 一.定义&#xff1a; JavaScript 中的解构&#xff08;Destructuring&#xff09;是一种语法糖&…

基于Ubuntu2310搭建openstack高可用集群B版

openstack-ha 环境初始化安装haproxy安装keepalived数据库集群高可用rabbitmq集群高可用memcache集群配置 keystone高可用glance高可用placement高可用nova高可用neutron高可用horizon高可用 本实验使用两台节点master和node配置haproxy高可用&#xff0c;keepliaved配置主备抢…

H5 Svg 半圆圆环占比图

效果图 主逻辑 /* 虚线长度 */ stroke-dasharray /* 偏移 */ stroke-dashoffset 代码 <!DOCTYPE html> <html lang"en"><head><meta charset"UTF-8"><meta http-equiv"X-UA-Compatible" content"IEedge&qu…

sentinel网关限流配置及使用

sentinel控制台源码&#xff1a;https://download.csdn.net/download/yixin605691235/89543923 sentinel控制台jar包&#xff1a;https://download.csdn.net/download/yixin605691235/89543931 不同环境直接修改jar包中的application.yml文件中的nacos地址就可以了。 一、网关限…

socket功能定义和一般模型

1. socket的功能定义 socket是为了使两个应用程序间进行数据交换而存在的一种技术&#xff0c;不仅可以使同一个主机上两个应用程序间可以交换数据&#xff0c;而且可以使网络上的不同主机间上的应用程序间进行通信。 2. 图解socket的服务端/客户端模型

MySQL面试篇章——MySQL基础复习

文章目录 MySQL基本介绍MySQL数据类型数值类型字符串类型日期和时间类型ENUM和SET MySQL运算符算数运算符逻辑运算符比较运算符 MySQL常用函数字符串函数数值函数时间和日期函数聚合函数 MySQL完整性约束范式第一范式&#xff08;1NF&#xff09;第二范式&#xff08;2NF&#…

<数据集>钢铁缺陷检测数据集<目标检测>

数据集格式&#xff1a;VOCYOLO格式 图片数量&#xff1a;1800张 标注数量(xml文件个数)&#xff1a;1800 标注数量(txt文件个数)&#xff1a;1800 标注类别数&#xff1a;6 标注类别名称&#xff1a;[crazing, patches, inclusion, pitted_surface, rolled-in_scale, scr…

【C语言】详解结构体(上)

文章目录 前言1. 结构体类型的含义2.结构体的声明2.1 结构体声明的语法2.2 结构体变量的创建和初始化 3.结构体的特殊声明4. 结构体的自引用5.小结 前言 C语言的数据类型分为内置数据类型和自定义的数据类型。所谓的内置的数据类型可以认为是C语言自带的数据类型&#xff08;c…

three完全开源扩展案例03-模型加载

https://www.threelab.cn/three-cesium-examples/public/index.html#/codeMirror?navigationThree.js%E6%A1%88%E4%BE%8B[r166]&classifybasic&idmodelLoad 更多内容&#xff1a;https://threelab.cn/ import * as THREE from three import { OrbitControls } from …

AI+折叠屏,荣耀的创新周期论

文&#xff5c;刘俊宏 编&#xff5c;王一粟 2024年&#xff0c;AI和折叠屏的演进路线&#xff0c;已经成为了手机行业的共识。 首先&#xff0c;手机市场的新增量已经被折叠屏所接管。据Counterpoint Research数据显示&#xff0c;中国2024年第一季度折叠屏手机销量同比增长…

最新Qt6的下载与成功安装详细介绍

引言 Qt6 是一款强大的跨平台应用程序开发框架&#xff0c;支持多种编程语言&#xff0c;最常用的是C。Qt6带来了许多改进和新功能&#xff0c;包括对C17的支持、增强的QML和UI技术、新的图形架构&#xff0c;以及构建系统方面的革新。本文将指导你如何在Windows平台上下载和安…

linux后门教程

linux后门教程 alias 用法 系统默认别名&#xff1a;alias 设置别名&#xff1a;alias lsls -laih 删除别名&#xff1a;unalias ls **加参数&#xff1a;**alias ls‘ls -laih;pwd’ 注意 系统启动默认加载的配置文件 /etc/profile 切换用户就会执行/etc/profile /etc/bash…

【JavaScript 算法】冒泡排序:简单有效的排序方法

&#x1f525; 个人主页&#xff1a;空白诗 文章目录 一、算法原理二、算法实现三、应用场景四、优化与扩展五、总结 冒泡排序&#xff08;Bubble Sort&#xff09;是一种基础的排序算法&#xff0c;通过重复地遍历要排序的数列&#xff0c;一次比较两个元素&#xff0c;如果它…

c语言题目之打印水仙花数

文章目录 一、题目二、思路三、代码实现 提示&#xff1a;以下是本篇文章正文内容&#xff0c;下面案例可供参考 一、题目 二、思路 此题的关键在于只要知道判断一个数据是否为水仙花数的方式&#xff0c;问题就迎刃而解。假定给定一个数据data&#xff0c;具体检测方式如下&a…

HTML+CSS+JS井字棋(来自动下棋)

井字棋 自动下棋 玩家先下&#xff0c;计算机后下 源码在图片后面 点赞❤️收藏⭐️关注&#x1f60d; 效果图 源代码 <!DOCTYPE html> <html lang"en"> <head> <meta charset"UTF-8"> <title>Tic Tac Toe Game</tit…

批量提取PDF指定区域内容到 Excel , 根据PDF文件第一行文字来自动重命名v1.3-附思路和代码实现

本次文章更新内容&#xff0c;图片以及扫描的PDF也可以支持批量提取指定区域内容了&#xff0c;主要是通过截图指定区域&#xff0c;然后使用OCR来识别该区域的文字来实现的&#xff0c;所以精度可能会有点不够&#xff0c;但是如果是数字的话&#xff0c;问题不大&#xff1b;…

【MobileNet】【模型学习】

MobileNet 模型学习 MobileNet v1 B站视频链接&#xff1a;https://www.bilibili.com/video/BV1i44y1x7hP/关键点&#xff1a; 将常规的卷积&#xff0c;替换成深度可分离卷积。具体为&#xff1a;逐层卷积、逐点卷积。使用 Relu6 替换原先的 Relu。防止在进行 int8 和 float…

LAST_INSERT_ID使用方法-(DM8达梦数据库)

LAST_INSERT_ID使用方法 - DM8达梦数据库 1 示例 11.1 创建表1.2 结果集 2 示例 22.1 创建表2.2 结果集 3 达梦数据库学习使用列表 1 示例 1 1.1 创建表 DROP TABLE AT240715; CREATE TABLE "SYSDBA"."AT240715" ( "ID" INT PRIMARY KEY AUTO_…

leetcode 周赛(406)全AC留念

纪念第一次 leetcode 周赛&#xff08;406&#xff09;全AC 1.(100352. 交换后字典序最小的字符串) 题目描述&#xff1a; 给你一个仅由数字组成的字符串 s&#xff0c;在最多交换一次 相邻 且具有相同 奇偶性 的数字后&#xff0c;返回可以得到的 字典序最小的字符串 。 如…

基于mcu固件反汇编逆向入门示例-stm32c8t6平台

基于mcu固件反汇编逆向入门示例-stm32c8t6平台 本文目标&#xff1a;基于mcu固件反汇编逆向入门示例-stm32c8t6平台 按照本文的描述&#xff0c;应该可以在对应的硬件上通实验并举一反三。 先决条件&#xff1a;拥有C语言基础&#xff0c;集成的开发环境&#xff0c;比如&am…