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