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

社区服务流程的文献西安网络推广优化培训

社区服务流程的文献,西安网络推广优化培训,营销型网站建设定制,网站域名的建立选择菜单里的 文件 > 首选项 > 用户代码片段 vscode模板 {"Print to conaole":{"prefix": "v-ts", //在新建立的页面中输入C就会有智能提示&#xff0c;Tab就自动生成好了"body": ["<template>"," <…

选择菜单里的 文件 > 首选项 > 用户代码片段
vscode模板

{"Print to conaole":{"prefix": "v-ts",    //在新建立的页面中输入C++就会有智能提示,Tab就自动生成好了"body": ["<template>"," <div class='con'>",     //这个头文件可以删除,我为了使用方便就加了"   <header></header>","   <section></section>"," </div>", //空行"</template>", //标准命名空间"<script lang='ts' setup>","/** 接口 */",   //main()函数"export interface propsForm {","}","import { reactive, toRefs, defineProps, withDefaults, defineEmits, ref, computed } from 'vue';","import useCurrentInstance from '@/api/useCurrentInstance';","const { proxy } = useCurrentInstance()","const emit = defineEmits(['searchFunction'])","/** prop */","const props = withDefaults(defineProps<propsForm>(), {","})","/** 计算属性*/","const xx = computed(() => [])","/** data */",    //最终光标会在这里等待输入"const state = reactive({","})","const { searchForm } = toRefs(state)","/** 监听 */",    //标准C++的等待用户动作"/** 生命周期 */", //结束"/** methods */","/** 接口 */","</script>","<style>","</style>"],"description": "vue3 template."   //用户输入后智能提示的内容(你可以用中文写“生成C++模板”)}
}

结果

<template><div class='con'><header></header><section></section></div>
</template>
<script lang='ts' setup>
/** 接口 */
export interface propsForm {
}
import { reactive, toRefs, defineProps, withDefaults, defineEmits, ref, computed } from 'vue';
import useCurrentInstance from '@/api/useCurrentInstance';
const { proxy } = useCurrentInstance()
const emit = defineEmits(['searchFunction'])
/** prop */
const props = withDefaults(defineProps<propsForm>(), {
})
/** 计算属性*/
const xx = computed(() => [])
/** data */
const state = reactive({
})
const { searchForm } = toRefs(state)
/** 监听 */
/** 生命周期 */
/** methods */
/** 接口 */
</script>
<style>
</style>

useCurrentInstance.ts

import { ComponentInternalInstance, getCurrentInstance } from 'vue'
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
export default function useCurrentInstance() {const { appContext } = getCurrentInstance() as ComponentInternalInstanceconst proxy = appContext.config.globalPropertiesreturn {proxy}
}
http://www.tj-hxxt.cn/news/82912.html

相关文章:

  • 电脑怎么做最新系统下载网站十大场景营销案例
  • seo 公司网站优化策略分析论文
  • 南通网站搜索引擎优化有道搜索引擎入口
  • 做网站程序先从哪一步开始营销模式都有哪些
  • 网站建设品牌好惠州seo排名收费
  • 大陆网站备案网络建站公司
  • 外贸营销网站建设竞价广告是怎么推广的
  • 建设网站江西揭阳百度seo公司
  • 海曙网站制作整站优化和单词
  • 香港网站建设 深圳分公司网络营销师官网
  • ps做网站编排b站推广网站mmm
  • 温州通业建设工程有限公司网站宁波网站推广制作
  • 摄影网站源代码优化推荐
  • 网站不备案可以用吗合肥网络推广公司
  • 个人网站做企业网站营销模式有哪些
  • 小米企业网站的优化建议厦门百度整站优化服务
  • 石岩做网站武汉seo排名优化
  • 哪些网站可以做问卷推蛙网络
  • 佛山网站建设模板建站凯里seo排名优化
  • 视频网站cms系统上海网站营销seo电话
  • VR网站建设价格全网搜索软件
  • WordPress微信域名防封源码深圳龙岗区优化防控措施
  • 做的不错的h5高端网站搜索引擎营销题库和答案
  • 网站建设费用属于管理费用科目灰色词排名接单
  • 做个什么网站seo网络排名优化技巧
  • wordpress 模板 删除超级seo工具
  • 虹口网站制作社交网络的推广方法
  • 做微信大转盘有哪些网站万网查询
  • 贵州网站开发搜索引擎优化的方法有哪些
  • 常见的域名注册网站开网店怎么开 新手无货源