注释渐变色功能和作品广场
This commit is contained in:
21
src/main.ts
21
src/main.ts
@@ -1,4 +1,4 @@
|
||||
import { createApp,nextTick } from 'vue'
|
||||
import { createApp,nextTick, } from 'vue'
|
||||
import App from './App.vue'
|
||||
import router from './router'
|
||||
import store from './store'
|
||||
@@ -17,7 +17,7 @@ import { Https } from "@/tool/https";
|
||||
// import "@/tool/color-thief.js";
|
||||
// import "@/tool/fabric.brushes.js";
|
||||
// import "@/tool/fabric.min.js";
|
||||
|
||||
const app = createApp(App);
|
||||
flexible()
|
||||
import { getCookie, setCookie } from "@/tool/cookie";
|
||||
router.beforeEach((to, from, next) => {
|
||||
@@ -67,9 +67,24 @@ async function isMurmur() {
|
||||
|
||||
}
|
||||
|
||||
// app.directive('cliAdmin', {
|
||||
// mounted(el, binding) {
|
||||
// el.style.cursor = 'pointer'
|
||||
// },
|
||||
// updated (el,binding) {
|
||||
// // let value = binding.value
|
||||
// // if(value.state){
|
||||
// // el.firstElementChild.classList.add(`cliAdmin_${value.type}`)
|
||||
// // setTimeout(()=>{
|
||||
// // el.firstElementChild.classList.remove(`cliAdmin_${value.type}`)
|
||||
// // },500)
|
||||
// // }
|
||||
// }
|
||||
// });
|
||||
|
||||
let loadingParam = {
|
||||
loading: require('./assets/images/homePage/loading.gif'),
|
||||
attempt: 1
|
||||
}
|
||||
createApp(App).use(store).use(router).use(Antd).use(VueLazyload, loadingParam).use(i18n).mount('#app')
|
||||
app.use(store).use(router).use(Antd).use(VueLazyload, loadingParam).use(i18n).mount('#app')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user