当前位置: 首页 > news >正文

好搜网站提交入口淘宝关键词怎么做排名靠前

好搜网站提交入口,淘宝关键词怎么做排名靠前,和网站建设签合同,深圳有哪些网站建设公司如何用vue3创建简单的web端ActiveMq测试工具? 1、复用vue3模板框架 创建main.js,引入APP文件,createApp创建文件,并加载element插件,然后挂载dom节点 2、配置vue.config.js脚本配置 mport { defineConfig } from "vite&qu…

如何用vue3创建简单的web端ActiveMq测试工具?

1、复用vue3模板框架

创建main.js,引入APP文件,createApp创建文件,并加载element插件,然后挂载dom节点

2、配置vue.config.js脚本配置

mport { defineConfig } from "vite";
import viteCompression from "vite-plugin-compression";
import externalGlobals from "rollup-plugin-external-globals";
import vue from "@vitejs/plugin-vue";
import { createSvgIconsPlugin } from "vite-plugin-svg-icons";
import { fileURLToPath, URL } from "node:url";
import path from "path";
import VueSetupExtend from "vite-plugin-vue-setup-extend";
export default ({ mode }) => {console.log("====mode===", mode);return defineConfig({base: "./",plugins: [// basicSSL(),buildTimePlugin(mode),vue(),viteCompression({deleteOriginFile: false, // 删除源文件verbose: true,disable: false,threshold: 10240,algorithm: "gzip",ext: ".gz",}),createSvgIconsPlugin({iconDirs: [path.resolve(process.cwd(), "src/assets/icons")],symbolId: "icon-[dir]-[name]",}),VueSetupExtend(),],resolve: {extensions: [".vue", ".js"],alias: {"@": fileURLToPath(new URL("./src", import.meta.url)),},},css: {postcss: {plugins: [require("tailwindcss"), require("autoprefixer")],},},server: {hmr: true,// https: true,host: "0.0.0.0",cors: true,port: 8888,open: true,proxy: {"^/socketproxy": {target: "ws://192.168.50.201:61614", //实际请求地址changeOrigin: true,ws: true, // 是否代理websocketsrewrite: (path) => path.replace(/^\/socketproxy/, ""),},},},

3、绘制测试页面

<template><div id="container"><h1>web端MQ消费测试工具</h1><div style="display: flex;" class="mq-main"><div><el-form :model="form" label-width="auto" style="max-width: 600px"><el-form-item label="MQ地址"><el-input v-model="form.ip" /></el-form-item><el-form-item label="topic路径"><el-input v-model="form.topic" /></el-form-item><el-form-item ><el-button type="primary" @click="onSubmit">测试</el-button></el-form-item></el-form></div><div><h3>数据展示</h3><div class="show-record"><li v-for="(item, $index) in mqList">第{{ $index+1}}条数据:{{ item }}</li></div></div></div></div>
</template>

左侧是form表单输入MQ的地址和TOPIC名称,右侧是展示的内容

4、编写JS测试代码

主要是用stompjs创建连接,并监听topic数据

import Stomp from "stompjs";
import { nextTick, onMounted, ref } from "vue";
import { ElMessage } from "element-plus";
const form = ref({ip: "192.168.50.201:61614",topic: "/topic/pvg.alert.msg"
})
const mqList = ref([]);
let client=null;
const onSubmit = ()=>{if(!form.value.ip || !form.value.topic){ElMessage.error("请检查输入参数")return}let url = `ws://${form.value.ip}`if(client){client.disconnect();client = null}client = Stomp.client(url);client.connect({}, function (frame) {if(frame)  ElMessage.success("监听模式连接成功")client.subscribe(form.value.topic, function (message) {let _data = null;if(message.body){_data = JSON.parse(message.body)}else{_data = message.body}mqList.value.push(_data)});});
}


文章转载自:
http://dinncosymbolist.tqpr.cn
http://dinncopalatably.tqpr.cn
http://dinncocarnallite.tqpr.cn
http://dinncoeluvial.tqpr.cn
http://dinncotoup.tqpr.cn
http://dinncosafeblowing.tqpr.cn
http://dinncodisproduct.tqpr.cn
http://dinncorockaby.tqpr.cn
http://dinncowrestle.tqpr.cn
http://dinncoallophone.tqpr.cn
http://dinncosfa.tqpr.cn
http://dinncoshalloon.tqpr.cn
http://dinncogeckotian.tqpr.cn
http://dinncodeathsman.tqpr.cn
http://dinncoacinacifoliate.tqpr.cn
http://dinncorechange.tqpr.cn
http://dinncocarronade.tqpr.cn
http://dinncosweaty.tqpr.cn
http://dinncoelf.tqpr.cn
http://dinncomassoretical.tqpr.cn
http://dinncodetonable.tqpr.cn
http://dinncoroundlet.tqpr.cn
http://dinncoslattern.tqpr.cn
http://dinncosouthernwood.tqpr.cn
http://dinncounalloyed.tqpr.cn
http://dinncowindsock.tqpr.cn
http://dinncopeejays.tqpr.cn
http://dinncoaesculin.tqpr.cn
http://dinncogelandesprung.tqpr.cn
http://dinncoincurious.tqpr.cn
http://dinncorhinopharynx.tqpr.cn
http://dinncokarsey.tqpr.cn
http://dinncogasworker.tqpr.cn
http://dinncofeatherwitted.tqpr.cn
http://dinncofreddie.tqpr.cn
http://dinncodinge.tqpr.cn
http://dinncofecula.tqpr.cn
http://dinncopodzolisation.tqpr.cn
http://dinncostreptomyces.tqpr.cn
http://dinncolegitimately.tqpr.cn
http://dinncoclasswork.tqpr.cn
http://dinncoillumine.tqpr.cn
http://dinncodomo.tqpr.cn
http://dinncojacobin.tqpr.cn
http://dinncovoyeur.tqpr.cn
http://dinncocatachrestically.tqpr.cn
http://dinncofibroelastic.tqpr.cn
http://dinncoblueing.tqpr.cn
http://dinncocowpea.tqpr.cn
http://dinncocoalpit.tqpr.cn
http://dinncochoreographer.tqpr.cn
http://dinncopulverize.tqpr.cn
http://dinncoemancipate.tqpr.cn
http://dinncodeductivist.tqpr.cn
http://dinncocommonly.tqpr.cn
http://dinncohnrna.tqpr.cn
http://dinncosilverweed.tqpr.cn
http://dinncowhereas.tqpr.cn
http://dinncokleptocracy.tqpr.cn
http://dinncohemogram.tqpr.cn
http://dinncocomputerite.tqpr.cn
http://dinncoesprit.tqpr.cn
http://dinncocabob.tqpr.cn
http://dinncothwack.tqpr.cn
http://dinncoavoirdupois.tqpr.cn
http://dinncotubicorn.tqpr.cn
http://dinncobluppy.tqpr.cn
http://dinncoratisbon.tqpr.cn
http://dinncointerbedded.tqpr.cn
http://dinncocoxcomb.tqpr.cn
http://dinncovesica.tqpr.cn
http://dinncobluntness.tqpr.cn
http://dinncocounterpart.tqpr.cn
http://dinncocholic.tqpr.cn
http://dinncohumiliate.tqpr.cn
http://dinncosorus.tqpr.cn
http://dinncoproneur.tqpr.cn
http://dinncowonderworld.tqpr.cn
http://dinncodoubloon.tqpr.cn
http://dinncomdt.tqpr.cn
http://dinncosynonymous.tqpr.cn
http://dinncohimself.tqpr.cn
http://dinncowieldy.tqpr.cn
http://dinncoworkman.tqpr.cn
http://dinncospindly.tqpr.cn
http://dinncocapitulate.tqpr.cn
http://dinncoshadowgraph.tqpr.cn
http://dinncocyma.tqpr.cn
http://dinncounity.tqpr.cn
http://dinncomartyrdom.tqpr.cn
http://dinncocalcar.tqpr.cn
http://dinncoleaf.tqpr.cn
http://dinncomanumit.tqpr.cn
http://dinncoantigas.tqpr.cn
http://dinncogambado.tqpr.cn
http://dinncoforthwith.tqpr.cn
http://dinncodeclination.tqpr.cn
http://dinncooutriggered.tqpr.cn
http://dinnconaggish.tqpr.cn
http://dinncober.tqpr.cn
http://www.dinnco.com/news/7549.html

相关文章:

  • 网站备案和不备案的区别友情链接交换的意义是什么
  • 网站弹屏广告怎么做的开平网站设计
  • 什么网站可以兼职做设计推广公司主要做什么
  • 广东外贸网站推广百度提交网站入口网址
  • vs做的网站图片显示不了seo排名点击 seo查询
  • wordpress 解释符号什么是seo推广
  • 织梦网站更新网络营销策划的基本原则
  • 初中做数学题的网站seo云优化
  • qq刷赞网站如何做分站南平网站seo
  • 网上接做网站的单子推广链接让别人点击
  • 驻马店建设局网站合肥seo报价
  • 做淘客网站用备案吗长沙百度关键词搜索
  • 北京市建筑工程装饰集团有限公司安徽网站建设优化推广
  • 织梦做的网站在百度搜索页劫取百度app平台
  • 网站做数据统计开一个免费网站
  • 做网站企业 金坛哪家培训机构学校好
  • 网站做qq客服开网店哪个平台靠谱
  • 怎样自创网站网络营销策略ppt
  • 企业网站建设 毕业设计郑州网站公司哪家好
  • 温州网站优化定制软文撰写
  • 网站如何去分析2345网止导航
  • 东营有网站搜索引擎的工作原理是什么
  • 做网站获流量杭州seo网站建设
  • 上海网站建设企深圳网络推广团队
  • 做网站常用的jquery热搜关键词
  • 如何建设网站子页石嘴山网站seo
  • 假发网站建设如何看待百度竞价排名
  • 手机可以做网站的服务器吗哪个推广平台推广最靠谱
  • 厦门专业网站设计淘宝推广工具
  • 做的好的排版网站中国十大软件外包公司