上一页 1 2 3 4 5 6 7 8 9 10 ··· 15 下一页
摘要: vue 弹窗 <el-dialog> </el-dialog> 可以在其中编写所需的弹窗显示的内容 也可以在其中放组件标签作为弹窗 放一个组件的话,例: <el-dialog v-model="addGoodsDialog" :title="addGoodsTitle" width="60%" de 阅读全文
posted @ 2023-12-03 20:50 朱呀朱~ 阅读(90) 评论(0) 推荐(0) 编辑
摘要: vue 编辑器组件 添加依赖 "dependencies": { "@codemirror/autocomplete": "^6.4.2", "@codemirror/commands": "^6.2.1", "@codemirror/lang-javascript": "^6.0.2", "@co 阅读全文
posted @ 2023-12-03 20:49 朱呀朱~ 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 只适用于选项式 API 的情况下 this.$refs 是用于在 Vue 组件中访问子组件或者 DOM 元素的一种方式。通常,在模板中可以使用 ref 属性为子组件或者 DOM 元素指定引用,然后通过 this.$refs 来访问这些引用 在选项式 API(Options API)中,比如在 met 阅读全文
posted @ 2023-12-03 20:49 朱呀朱~ 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 情景:在 vue 组件获取了 js 里存储的数据后,想要给获取的 list 的每一条数据加上相同的属性作为公共部分 // 页面打开即加载方法 mounted() { this.init() }, methods:{ init(){ // 给新的进行重新赋d: this.xAxisStyle.forE 阅读全文
posted @ 2023-12-03 20:48 朱呀朱~ 阅读(53) 评论(0) 推荐(0) 编辑
摘要: JSON.stringify 和 JSON.parse JSON.stringify(): 作用: 用于将 JavaScript 对象或值转换为 JSON 字符串 语法: JSON.stringify(value[, replacer[, space]]) value: 要转换为 JSON 字符串的 阅读全文
posted @ 2023-12-03 20:48 朱呀朱~ 阅读(7) 评论(0) 推荐(0) 编辑
摘要: Element-Plus —— el-row + el-col element 是把每行划分为 24 个分栏 span 规定一个 col 占据 24 份中的多少份 平分一行为两列: <el-row> <el-col :span="12" >示例1</el-col> <el-col :span="12 阅读全文
posted @ 2023-12-03 20:47 朱呀朱~ 阅读(444) 评论(0) 推荐(0) 编辑
摘要: 批量查询 <select id="selectGoods" parameterType="cn.com.xxx.xx.entity.Goods" resultMap="goodsResultMap"> select g.GOODS_ID, g.GOODS_NAME, g.GOODS_CODE, g. 阅读全文
posted @ 2023-12-03 20:45 朱呀朱~ 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 点击 Maven 的 clean 确报错:Error running 'vs-file-backend-util [clean]': No valid Maven installation found. Either set the home directory in the configurati 阅读全文
posted @ 2023-12-03 20:44 朱呀朱~ 阅读(573) 评论(0) 推荐(0) 编辑
摘要: 情景:在 vue 页面上需要循环输出 list 中的每一个对象 item,可以编写 item 某一 name 属性值,并加以获取拼接(此法仅供参考,待完善) 例:页面上 v-for 循环: <!-- 页面上 --> <el-input v-model="yAxisItem.name" @input= 阅读全文
posted @ 2023-12-03 20:44 朱呀朱~ 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 显示红字报错:" 错误 找不到或无法加载主类 cn.com.xxx.arps.test.Test " Test.java: public class Test { public static void main(String[] args) { System.out.println("咋能报错呢") 阅读全文
posted @ 2023-12-03 20:43 朱呀朱~ 阅读(192) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 15 下一页