提交 6427b84f 编写于 作者: P piexlmax

放弃使用 vue-demi 全部替换为 vue

上级 fddbd426
...@@ -50,4 +50,4 @@ ...@@ -50,4 +50,4 @@
"vite-plugin-banner": "^0.1.3", "vite-plugin-banner": "^0.1.3",
"vite-plugin-importer": "^0.2.5" "vite-plugin-importer": "^0.2.5"
} }
} }
\ No newline at end of file
...@@ -23,7 +23,7 @@ export default { ...@@ -23,7 +23,7 @@ export default {
<script setup> <script setup>
import noAvatarPng from '@/assets/noBody.png' import noAvatarPng from '@/assets/noBody.png'
import { useStore } from 'vuex' import { useStore } from 'vuex'
import { computed, ref, defineProps } from 'vue-demi' import { computed, ref, defineProps } from 'vue'
const store = useStore() const store = useStore()
const props = defineProps({ const props = defineProps({
......
...@@ -21,7 +21,7 @@ export default { ...@@ -21,7 +21,7 @@ export default {
<script setup> <script setup>
import { Commits } from '@/api/github' import { Commits } from '@/api/github'
import { formatTimeToStr } from '@/utils/date.js' import { formatTimeToStr } from '@/utils/date.js'
import { ref } from 'vue-demi' import { ref } from 'vue'
const loading = ref(true) const loading = ref(true)
const dataTimeline = ref([]) const dataTimeline = ref([])
......
...@@ -74,7 +74,7 @@ import CustomPic from '@/components/customPic/index.vue' ...@@ -74,7 +74,7 @@ import CustomPic from '@/components/customPic/index.vue'
import UploadImage from '@/components/upload/image.vue' import UploadImage from '@/components/upload/image.vue'
import { formatDate } from '@/utils/format' import { formatDate } from '@/utils/format'
import { computed, ref } from 'vue-demi' import { computed, ref } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus' import { ElMessage, ElMessageBox } from 'element-plus'
const store = useStore() const store = useStore()
......
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
import { toLowerCase, toSQLLine } from '@/utils/stringFun' import { toLowerCase, toSQLLine } from '@/utils/stringFun'
import { getSysDictionaryList } from '@/api/sysDictionary' import { getSysDictionaryList } from '@/api/sysDictionary'
import warningBar from '@/components/warningBar/warningBar.vue' import warningBar from '@/components/warningBar/warningBar.vue'
import { ref, defineProps, defineExpose } from 'vue-demi' import { ref, defineProps, defineExpose } from 'vue'
const props = defineProps({ const props = defineProps({
dialogMiddle: { dialogMiddle: {
......
...@@ -12,9 +12,8 @@ ...@@ -12,9 +12,8 @@
import marked from 'marked' import marked from 'marked'
import hljs from 'highlight.js' import hljs from 'highlight.js'
import 'highlight.js/styles/atelier-plateau-light.css' import 'highlight.js/styles/atelier-plateau-light.css'
import { onMounted, ref } from 'vue-demi'
import { ElMessage } from 'element-plus' import { ElMessage } from 'element-plus'
import { defineProps, defineExpose } from 'vue' import { defineProps, defineExpose, onMounted, ref } from 'vue'
const props = defineProps({ const props = defineProps({
previewCode: { previewCode: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册