12 2021 档案

摘要:<template> <div class="filter_country"> <div class="checkbox_text">选择国家(可多选)</div> <div class="checkbox_text_right"> <div class="country_flag"> <div c 阅读全文
posted @ 2021-12-23 17:07 Ocean- 阅读(168) 评论(0) 推荐(0) 编辑
摘要:比如我们要引入一个名叫 “men.js”的外部js文件 <template> <div></div> </template> <script> const menu = require("./menu"); //在此处引入js文件 export default {}; </script> <styl 阅读全文
posted @ 2021-12-20 13:51 Ocean- 阅读(3691) 评论(0) 推荐(0) 编辑
摘要:通过 this.$store.commit("checkLayout", 要存储的数据); 在需要监听的页面 watch: { "$store.state.secret"() { console.log("获得" + this.$store.state.secret); }, }, 在vuex中定义 阅读全文
posted @ 2021-12-20 10:56 Ocean- 阅读(450) 评论(0) 推荐(0) 编辑
摘要:<template> <div style="color: white"> <div>关键词组:</div> <div class="add-input" v-for="(item, index) in updataData" :key="index"> <div style="flex: 1"> 阅读全文
posted @ 2021-12-20 10:44 Ocean- 阅读(1049) 评论(0) 推荐(0) 编辑
摘要:<template> <div> <div style="color: red" @click="minus">-</div> <el-date-picker v-model="FullTime" type="date" placeholder="选择日期时间" align="right" date 阅读全文
posted @ 2021-12-20 10:08 Ocean- 阅读(4004) 评论(0) 推荐(0) 编辑
摘要:<template> <el-date-picker v-model="FullTime" type="date" placeholder="选择日期时间" align="right" dateFormat="yyyy-MM-dd" minView="month" value-format="yyy 阅读全文
posted @ 2021-12-20 09:28 Ocean- 阅读(486) 评论(0) 推荐(0) 编辑
摘要://获取时间 getTime() { var getNowDate = new Date(); //获取当前日期时间 const nowYear = getNowDate.getFullYear(); let nowMonth = getNowDate.getMonth() + 1; let now 阅读全文
posted @ 2021-12-20 09:22 Ocean- 阅读(2368) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示