Commit d1a5eeed authored by zhengke's avatar zhengke

重命名

parent ac2f6e32
......@@ -90,7 +90,7 @@
<el-icon>
<RefreshRight v-if="!datas.journeyAds.RefreshLoading"
@click="datas.journeyAds.RefreshLoading=true"/>
<Refresh v-else />
<Loading v-else />
</el-icon>
</div>
</div>
......@@ -109,7 +109,7 @@ import { ref,reactive,provide,inject } from 'vue';
import SearchDocument from './components/SearchDocument.vue'
import Example from './components/Example.vue'
import journeyAds from './components/journeyAds.vue'
import { Plus,ArrowDown,Clock,Star,Share,Picture,Management,Delete,RefreshRight,Refresh } from '@element-plus/icons-vue';
import { Plus,ArrowDown,Clock,Star,Share,Picture,Management,Delete,RefreshRight,Refresh,Loading } from '@element-plus/icons-vue';
import { injectKeyTemplate } from '@/types/injectKey'
import { useSellTemplateStore, useScreenStore, useSlidesStore } from '@/store'
......@@ -126,13 +126,13 @@ provide('journeyAds',datas.journeyAds)
const searchData = ref({} as any)
searchData.value = inject(injectKeyTemplate)
searchData.value.currentMenu = currentMenu.value
if(searchData.value.SellTemplateType){
let current = 0
if(searchData.value.SellTemplateType==1) current = 3
if(searchData.value.SellTemplateType==2) current = 4
currentMenu.value = current
}
}else currentMenu.value = searchData.value.currentMenu
const SalesEditorStore = useSellTemplateStore()
const marketStore = useScreenStore()
......@@ -145,10 +145,11 @@ const sellAdd = (type:number) =>{
const setCurrentMenuHandler=(i:number)=>{
currentMenu.value=i
let TemplateType = 1
searchData.value.currentMenu=i
let TemplateType = 0
if(i==3) TemplateType = 1
if(i==4) TemplateType = 2
if(TemplateType) searchData.value.SellTemplateType = TemplateType
searchData.value.SellTemplateType = TemplateType
}
</script>
<style scoped>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment