摘要:
<template> <div class="nav"> <input v-model="name" type="text" /> <button @click="Delete()">查询</button> </div> </template> <script> import axios from 阅读全文
posted @ 2022-10-30 22:23
しゅおく
阅读(91)
评论(0)
推荐(0)
摘要:
{ 注意驼峰命名法,不然会报错 } 1.在Views文件夹下创建Vue路由文件,例如: <template> </template> <script> </script> template:表示html结构区域,script表示交互区域,style:表示装饰区域 2.完成以后,要把vue文件命名导出 阅读全文
posted @ 2022-10-30 01:58
しゅおく
阅读(172)
评论(0)
推荐(0)
摘要:
原因: eslint代码检查到你注册了组件但没有使用,然后就报错了。比如代码: 比如Vue中注册了File组件,而实际上却没有使用到(直接取消注册为好): ... import File from "../../components/file"; export defaul 阅读全文
posted @ 2022-10-30 01:39
しゅおく
阅读(1325)
评论(0)
推荐(0)

浙公网安备 33010602011771号