detail调整
This commit is contained in:
@@ -85,7 +85,7 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent,watch,createVNode, h, ref ,toRefs,computed,reactive,triggerRef, nextTick} from "vue";
|
||||
import { defineComponent,watch,createVNode, inject, ref ,toRefs,computed,reactive,triggerRef, nextTick} from "vue";
|
||||
// import { getCookie } from "@/tool/cookie";
|
||||
import { Https } from "@/tool/https";
|
||||
import { getCookie,setCookie } from "@/tool/cookie";
|
||||
@@ -100,11 +100,12 @@ export default defineComponent({
|
||||
let {t} = useI18n()
|
||||
let publish: any = ref(false);//弹窗
|
||||
let publishMask:any = ref(false)//弹窗遮罩
|
||||
let setBeenPublished:any = inject('setBeenPublished')
|
||||
let publishData:any = reactive({
|
||||
publishName:'',
|
||||
loadingShow:false,
|
||||
publishMarginTop:0,
|
||||
beenPublished:0,//history回来时候表示是否已经发布0为没发布
|
||||
beenPublished:inject('beenPublished'),//history回来时候表示是否已经发布0为没发布
|
||||
publishList:[],
|
||||
publishIndex:0,//当前图片索引
|
||||
isShowMark:false,
|
||||
@@ -126,7 +127,6 @@ export default defineComponent({
|
||||
// document.execCommand("copy");
|
||||
// }
|
||||
let init = (data:any)=>{
|
||||
publishData.beenPublished = data.beenPublished
|
||||
let userInfo:any = getCookie("userInfo")
|
||||
// console.log(data);
|
||||
publish.value = true
|
||||
@@ -224,6 +224,8 @@ export default defineComponent({
|
||||
publishData.isShowMark = false
|
||||
emit('setPublish')
|
||||
message.success(t('Publish.jsContent4'))
|
||||
setBeenPublished()
|
||||
|
||||
})
|
||||
.catch((rv) => {
|
||||
publishData.isShowMark = false
|
||||
|
||||
Reference in New Issue
Block a user