摘要:
import { reactive, ref, toRefs, onMounted, getCurrentInstance, computed, watch } from 'vue' import { useStore } from 'vuex' // vuex const store = useS 阅读全文
posted @ 2021-08-05 18:05
敲敲碰碰
阅读(965)
评论(0)
推荐(1)
摘要:
elementPlus使用/deep/会警告可以用下面方法替换: :deep(.el-input__inner){ border: 1px solid #9CAABF } 阅读全文
posted @ 2021-08-05 09:27
敲敲碰碰
阅读(874)
评论(0)
推荐(0)
摘要:
vue4+提供了useStore,引入useStore,其他写法就可以和之前的写法类似,具体如下: <template> <div>{{ $store.state.count }}</div> <button @click="myCommit ">点击</button> </template> sc 阅读全文
posted @ 2021-08-05 09:10
敲敲碰碰
阅读(3114)
评论(0)
推荐(0)
摘要:
1.项目目录 2.index.js import axios from 'axios' import router from '../router/index' import { ElLoading, ElMessage } from 'element-plus' import config fro 阅读全文
posted @ 2021-08-05 08:59
敲敲碰碰
阅读(2072)
评论(0)
推荐(0)

浙公网安备 33010602011771号