-
-
@@ -152,8 +225,6 @@ export default defineComponent({
document.execCommand("copy");
}
let init = (list:any,index:any,dialogueIndex:any)=>{
- console.log(213123);
-
scaleImage.value = true
imgData.scaleImageList = list
imgData.scaleImageIndex = index
@@ -184,7 +255,7 @@ export default defineComponent({
// },
watch(()=>imgData.scaleImageIndex,
(newVal,oldVal)=>{
- let dom:any = document.querySelector('.newScaleImage_content .nav_centent')
+ let dom:any = document.querySelector('.newScaleImage_left .nav_centent')
if(!dom) return
let contentItemHeight = Number(getComputedStyle(dom).getPropertyValue('--snap-size').split('rem')[0]);
imgData.scaleImageMarginTop = `${contentItemHeight*-(newVal) - contentItemHeight/2}rem`
@@ -298,6 +369,7 @@ export default defineComponent({
.newScaleImage_page{
overflow-y: auto;
height: 100%;
+ display: flex;
&.newScaleImage_page::-webkit-scrollbar{display: none;}
}
@@ -360,14 +432,34 @@ export default defineComponent({
font-weight: 600;
color: #000;
}
- .newScaleImage_content{
- width: 100%;
+ .scaleImage_chunk_title_comment{
+ font-size: 1.6rem;
+ font-weight: 600;
+ color: #000;
+ max-height: 8.5rem;
+ overflow: hidden;
+ &.active{
+ max-height: max-content;
+ }
+ }
+ .scaleImage_chunk_title_intro{
+ font-size: 1.6rem;
+ font-weight: 300;
+ color: #535353;
+ // overflow: hidden;
+ // text-overflow: ellipsis;
+ // white-space: nowrap;
+ }
+
+ .newScaleImage_left{
display: flex;
-
+ width: 60%;
+ position: sticky;
+ top: 0;
.newScaleImage_content_right{
- --content-height: 50rem;
+ --content-height: 60rem;
display: flex;
- width: 60%;
+ width: 100%;
flex-wrap: wrap;
justify-content: space-between;
height: var(--content-height);
@@ -375,9 +467,11 @@ export default defineComponent({
overflow: hidden;
.newScaleImage_content_right_img{
height: 100%;
+ width: auto;
width: 60%;
overflow-x: auto;
display: flex;
+ justify-content: center;
img{
width: auto;
max-width: 100%;
@@ -405,7 +499,9 @@ export default defineComponent({
.nav_centent_img{
max-width: calc(var(--snap-size) - 2rem);
height: calc(var(--snap-size) - 2rem);
- object-fit: cover;
+ object-fit: contain;
+ width: auto;
+ background-color: #fff;
object-position: 50%,50%;
border-radius: calc(1rem*1.2);
cursor: pointer;
@@ -433,23 +529,71 @@ export default defineComponent({
}
}
}
- .newScaleImage_content_left{
- width: 40%;
- padding: 0 var(--padding);
+
+ }
+ .newScaleImage_right{
+ width: 40%;
+ padding-left: var(--margin);
+ .newScaleImage_right_content{
display: flex;
flex-direction: column;
+ height: var(--content-height);
.generate_item_title_left{
font-size: 2.4rem;
}
- .newScaleImage_content_left_type{
+ .newScaleImage_right_content_type{
padding: var(--padding) 0;
margin-bottom: var(--margin);
border-bottom: .2rem solid var(--border-color);
}
- .newScaleImage_content_left_generate{
+ .newScaleImage_right_content_collection,.newScaleImage_right_content_generate{
display: flex;
flex-direction: column;
flex: 1;
+ }
+ .newScaleImage_right_content_collection{
+ &.newScaleImage_right_content_collection::-webkit-scrollbar{display: none;}
+ text-align: center;
+ // .content_left_collection_btn{
+ // display: flex;
+ // justify-content: space-around;
+ // }
+ .started_btn{
+ margin-bottom: var(--margin);
+ }
+ .content_left_collection_detail{
+ height: calc(8rem + var(--padding) * 2);
+ display: flex;
+ align-items: center;
+ justify-content: flex-start;
+ .scaleImage_chunk_title{
+ margin-right: 1rem;
+ }
+ }
+ .content_left_collection_content{
+ flex: 1;
+ overflow: hidden;
+ display: flex;
+ flex-direction: column;
+ align-items: flex-start;
+
+ .content_left_collection_content_list{
+ overflow-x: auto;
+ display: flex;
+ flex: 1;
+ width: 100%;
+ align-items: center;
+ margin-top: var(--padding);
+ img{
+ height: 30rem;
+ width: auto;
+ margin-right: var(--margin);
+ }
+ }
+
+ }
+ }
+ .newScaleImage_right_content_generate{
.content_left_generate_item{
overflow: hidden;
@@ -478,7 +622,7 @@ export default defineComponent({
margin-top: var(--padding);
width: 100% !important;
height: 10rem !important;
- border-radius: 4px;
+ border-radius: 4rem;
border: .2rem solid var(--border-color);
font-size: 1.8rem;
padding: 1rem;
@@ -493,26 +637,127 @@ export default defineComponent({
}
}
}
- }
- .newScaleImage_detail{
- display: flex;
- margin-top: var(--margin);
- .newScaleImage_detail_right,.newScaleImage_detail_left{
+ .newScaleImage_right_detail,.newScaleImage_right_comment{
height: auto;
- }
- .newScaleImage_detail_left{
- width: 60%;
- }
- .newScaleImage_detail_right{
- width: 40%;
- padding: 0 var(--padding);
- .detail_right_item{
+ .detail_left_right_item{
margin-bottom: var(--margin);
}
- .detail_right_item:last-child{
+ .detail_left_right_item_click{
+ cursor: pointer;
+ }
+ .detail_left_right_item:last-child{
margin-bottom: 0;
}
-
+ }
+ .newScaleImage_right_comment{
+ display: flex;
+ flex-direction: column;
+ >.scaleImage_chunk_title{
+ text-align: center;
+ }
+ .newScaleImage_right_comment_null,.newScaleImage_right_comment_content{
+ flex: 1;
+ }
+ .newScaleImage_right_comment_null{
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ .scaleImage_chunk_title{
+ font-size: 3rem;
+ }
+
+ }
+ .newScaleImage_right_comment_content{
+ max-height: 60rem;
+ overflow-y: auto;
+ .detail_left_content_item{
+ display: flex;
+ margin-bottom: var(--margin);
+ &.detail_left_content_item:last-child{
+ margin-bottom: 0;
+ }
+ .detail_left_content_item_img{
+ border-radius: 50%;
+ overflow: hidden;
+ width: 5rem;
+ height: 5rem;
+ }
+ .detail_left_content_item_content{
+ flex: 1;
+ margin-left: 1rem;
+ width: calc(100% - 6rem - 1rem);
+ >div{
+ margin-top: .4rem;
+ >span{
+ margin-right: .5rem;
+ color: rgba(122, 97, 220);
+ }
+ }
+
+
+ .detail_left_content_item_btn{
+ display: flex;
+ align-items: center;
+ .left_content_item_reply,.left_content_item_thumbs,.left_content_item_unfold{
+ cursor: pointer;
+ }
+ .left_content_item_reply:hover{
+ color: #000;
+ }
+ .left_content_item_thumbs{
+ display: flex;
+ margin-left: 2rem;
+ i{
+ font-size: 2rem;
+ margin-right: 1rem;
+ display: flex;
+ }
+ }
+ .left_content_item_unfold{
+ margin-left: auto;
+ margin-right: 1rem;
+ }
+ }
+ .detail_left_content_item_replyContent{
+ margin-top: var(--padding);
+ display: flex;
+ }
+ }
+ }
+ }
+ .newScaleImage_right_comment_setComment{
+ display: flex;
+ align-items: center;
+ height: 4rem;
+ justify-content: center;
+ margin-top: var(--padding);
+ input,.detail_left_setComment_btn{
+ border-radius: 1rem;
+ }
+ input{
+ padding-left: var(--padding);
+ height: 100%;
+ width: 50%;
+ font-size: 2rem;
+ margin-right: var(--padding);
+ border: .2rem solid var(--border-color);
+ }
+ .detail_left_setComment_btn{
+ width: 4rem;
+ height: 4rem;
+ background: rgba(57, 33, 91);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ i{
+ color: #fff;
+ display: flex;
+ }
+ }
+ }
+ }
+ .newScaleImage_right_detail{
.detail_right_user{
display: flex;
.detail_right_user_head{
@@ -523,6 +768,9 @@ export default defineComponent({
height: 10rem;
object-fit: cover;
}
+ }
+ .detail_right_user_head:hover{
+
}
.detail_right_user_content{
flex: 1;
@@ -546,9 +794,11 @@ export default defineComponent({
}
}
}
- .detail_right_operation{
- display: flex;
- justify-content: space-evenly;
+ .detail_right_work_detail{
+ .scaleImage_chunk_title_intro{
+ margin-top: calc(var(--padding) / 2);
+ height: auto
+ }
}
.detail_right_look_operation{
display: flex;
@@ -566,6 +816,19 @@ export default defineComponent({
}
}
}
+ .detail_right_date{
+ display: flex;
+ justify-content: space-between;
+ .detail_right_date_setUp,.detail_right_date_upData{
+ div{
+ font-size: 2rem;
+ font-weight: 600;
+ }
+ span{
+ font-size: 1.8rem;
+ }
+ }
+ }
.detail_right_auther{
.detail_right_auther_img{
width: 100%;
@@ -573,6 +836,7 @@ export default defineComponent({
margin-top: var(--padding);
--auther_wh: 8rem;
.detail_right_auther_img_item{
+ text-align: center;
width: var(--auther_wh);
height: var(--auther_wh);
flex-shrink: 1;
diff --git a/src/component/WorksPage/publish.vue b/src/component/WorksPage/publish.vue
new file mode 100644
index 00000000..90fcef17
--- /dev/null
+++ b/src/component/WorksPage/publish.vue
@@ -0,0 +1,371 @@
+
+
+
+
+
+
+
+
+
Cover Picture
+
+
![]()
+
+
+
+
Select Cover Picture
+
+
+
+
+
+
+
+
+
+ This will publish your work to the square for all users to see.
+
+
+
+
Close
+
Save as draft
+
Publish
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main.ts b/src/main.ts
index d24097e5..016861a5 100644
--- a/src/main.ts
+++ b/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')
+
diff --git a/src/tool/util.js b/src/tool/util.js
index 8621cec0..d4c3ff6d 100644
--- a/src/tool/util.js
+++ b/src/tool/util.js
@@ -149,11 +149,13 @@ const formatTime = (timestamp, fmt) => {//吧时间戳转为YYYY-MM-DD hh:mm:ss
const isMoible = () => {//判断是否是移动端
let is_mobile = navigator.userAgent.toLowerCase().match(/(ipad|ipod|iphone|android|coolpad|mmp|smartphone|midp|wap|xoom|symbian|j2me|blackberry|wince)/i) != null;
// alert(navigator.userAgent.toLowerCase())
- var isiPad = /iPad/.test(navigator.platform) || (navigator.maxTouchPoints && navigator.maxTouchPoints > 2);
+ var isiPad = (navigator.maxTouchPoints && navigator.maxTouchPoints > 0);
if (is_mobile) {
- return true
- } else {
- return isiPad
+ return true//判断是否在正则内
+ } else if(window.matchMedia("(pointer:fine)").matches){
+ return false//判断是否支持鼠标
+ }else{
+ isiPad//判断触摸点
}
}
@@ -203,6 +205,179 @@ async function murmur(){//生成唯一标识 ,暂时没有使用
});
})
}
+/**
+ * @description: 计算canvas渐变起始坐标
+ * @param {number} canvas width
+ * @param {number} canvas height
+ * @param {number} angle 角度
+ * @return {*}
+ */
+function calculateGradientCoordinate(width,height,angle) {
+ if (angle >= 360) angle = angle - 360;
+ if (angle < 0) angle = angle + 360;
+ angle = Math.round(angle);
+
+ // 当渐变轴垂直于矩形水平边上的两种结果
+ if (angle === 0) {
+ return {
+ x0: Math.round(width / 2),
+ y0: height,
+ x1: Math.round(width / 2),
+ y1: 0,
+ };
+ }
+ if (angle === 180) {
+ return {
+ x0: Math.round(width / 2),
+ y0: 0,
+ x1: Math.round(width / 2),
+ y1: height,
+ };
+ }
+
+ // 当渐变轴垂直于矩形垂直边上的两种结果
+ if (angle === 90) {
+ return {
+ x0: 0,
+ y0: Math.round(height / 2),
+ x1: width,
+ y1: Math.round(height / 2),
+ };
+ }
+ if (angle === 270) {
+ return {
+ x0: width,
+ y0: Math.round(height / 2),
+ x1: 0,
+ y1: Math.round(height / 2),
+ };
+ }
+
+ // 从矩形左下角至右上角的对角线的角度
+ const alpha = Math.round(
+ (Math.asin(width / Math.sqrt(Math.pow(width, 2) + Math.pow(height, 2))) *
+ 180) /
+ Math.PI,
+ );
+
+ // 当渐变轴分别于矩形的两条对角线重合情况下的四种结果
+ if (angle === alpha) {
+ return {
+ x0: 0,
+ y0: height,
+ x1: width,
+ y1: 0,
+ };
+ }
+ if (angle === 180 - alpha) {
+ return {
+ x0: 0,
+ y0: 0,
+ x1: width,
+ y1: height,
+ };
+ }
+ if (angle === 180 + alpha) {
+ return {
+ x0: width,
+ y0: 0,
+ x1: 0,
+ y1: height,
+ };
+ }
+ if (angle === 360 - alpha) {
+ return {
+ x0: width,
+ y0: height,
+ x1: 0,
+ y1: 0,
+ };
+ }
+
+ // 以矩形的中点为坐标原点,向上为Y轴正方向,向右为X轴正方向建立直角坐标系
+ let x0 = 0,
+ y0 = 0,
+ x1 = 0,
+ y1 = 0;
+
+ // 当渐变轴与矩形的交点落在水平线上
+ if (
+ angle < alpha || // 处于第一象限
+ (angle > 180 - alpha && angle < 180) || // 处于第二象限
+ (angle > 180 && angle < 180 + alpha) || // 处于第三象限
+ angle > 360 - alpha // 处于第四象限
+ ) {
+ // 将角度乘以(PI/180)即可转换为弧度
+ const radian = (angle * Math.PI) / 180;
+ // 当在第一或第四象限,y是height / 2,否则y是-height / 2
+ const y = angle < alpha || angle > 360 - alpha ? height / 2 : -height / 2;
+ const x = Math.tan(radian) * y;
+ // 当在第一或第二象限,l是width / 2 - x,否则l是-width / 2 - x
+ const l =
+ angle < alpha || (angle > 180 - alpha && angle < 180)
+ ? width / 2 - x
+ : -width / 2 - x;
+ const n = Math.pow(Math.sin(radian), 2) * l;
+ x1 = x + n;
+ y1 = y + n / Math.tan(radian);
+ x0 = -x1;
+ y0 = -y1;
+ }
+
+ // 当渐变轴与矩形的交点落在垂直线上
+ if (
+ (angle > alpha && angle < 90) || // 处于第一象限
+ (angle > 90 && angle < 180 - alpha) || // 处于第二象限
+ (angle > 180 + alpha && angle < 270) || // 处于第三象限
+ (angle > 270 && angle < 360 - alpha) // 处于第四象限
+ ) {
+ // 将角度乘以(PI/180)即可转换为弧度
+ const radian = ((90 - angle) * Math.PI) / 180;
+ // 当在第一或第二象限,x是width / 2,否则x是-width / 2
+ const x =
+ (angle > alpha && angle < 90) || (angle > 90 && angle < 180 - alpha)
+ ? width / 2
+ : -width / 2;
+ const y = Math.tan(radian) * x;
+ // 当在第一或第四象限,l是height / 2 - y,否则l是-height / 2 - y
+ const l =
+ (angle > alpha && angle < 90) || (angle > 270 && angle < 360 - alpha)
+ ? height / 2 - y
+ : -height / 2 - y;
+ const n = Math.pow(Math.sin(radian), 2) * l;
+ x1 = x + n / Math.tan(radian);
+ y1 = y + n;
+ x0 = -x1;
+ y0 = -y1;
+ }
+
+ // 坐标系更改为canvas标准,Y轴向下为正方向
+ x0 = Math.round(x0 + width / 2);
+ y0 = Math.round(height / 2 - y0);
+ x1 = Math.round(x1 + width / 2);
+ y1 = Math.round(height / 2 - y1);
+ return {x0, y0, x1, y1};
+ }
+
+const setGradual = (colorObj,colorWidth,colorHeight)=>{
+ let width = colorWidth || 320
+ let height = colorHeight || 700
+ const canvas = document.createElement("canvas");
+ const ctx = canvas.getContext("2d");
+ canvas.width = width;
+ canvas.height = height;
+ let {x0, y0, x1, y1} = calculateGradientCoordinate(width,height,colorObj.angle)
+ const gradient = ctx.createLinearGradient(x0, y0, x1, y1);
+ colorObj.gradientList.forEach(item => {
+ let left = item.left.split('%')[0]/100
+ let rgba = `rgba(${item.rgba.r},${item.rgba.g},${item.rgba.b},${item.rgba.a})`
+ gradient.addColorStop(left, rgba); // 起始颜色
+ });
+ ctx.fillStyle = gradient;
+ ctx.fillRect(0, 0, width, height);
+ const dataURL = canvas.toDataURL('image/jpg');
+ return dataURL
+}
export {
isEmail,
getUploadUrl,
@@ -216,4 +391,5 @@ export {
downloadIamge,
getBrowserInfo,
murmur,
+ setGradual,
}
\ No newline at end of file
diff --git a/src/views/HomeMain.vue b/src/views/HomeMain.vue
index ab40ea79..8fb4cfb2 100644
--- a/src/views/HomeMain.vue
+++ b/src/views/HomeMain.vue
@@ -44,9 +44,9 @@
{{$t('Header.HISTORY')}}
-
+
diff --git a/src/views/HomeView/HomeView.vue b/src/views/HomeView/HomeView.vue
index 63875bd1..b25e43a2 100644
--- a/src/views/HomeView/HomeView.vue
+++ b/src/views/HomeView/HomeView.vue
@@ -806,6 +806,7 @@ export default defineComponent({
id: v.id,
name: v.name,
tcx: v.tcx,
+ gradient:v.gradient,
rgbValue: "",
};
data.rgbValue = `${v.rgbValue.r} ${v.rgbValue.g} ${v.rgbValue.b}`;
@@ -994,6 +995,11 @@ export default defineComponent({
a: 1,
},
};
+ if(v.gradient){
+ newData.gradient = v.gradient;
+ }else{
+ delete newData.gradient;
+ }
return newData;
});
return colorList;
diff --git a/src/views/HomeView/Works.vue b/src/views/HomeView/Works.vue
index 2688e8cf..76c2f146 100644
--- a/src/views/HomeView/Works.vue
+++ b/src/views/HomeView/Works.vue
@@ -7,8 +7,8 @@
{{ item.name }}
-
-
+
+
@@ -20,19 +20,28 @@
{{item.name}}
-
-
-
-
- {{ item.likeNum }}
-
-
-
-
-
-
- {{ item.lookNum }}
-
+
+
+
+
+
{{ item.likeNum }}
+
+
+
+
+ 321
+
+
+
+
+
+
+
{{ item.lookNum }}
+
+
@@ -170,7 +179,7 @@ export default defineComponent({
likeNum:'123',
like: false,
},{
- imgUrl: 'https://cdn.dribbble.com/userupload/14355607/file/original-930ddf037011f7acd6bd810a5cb6f0fc.jpg?resize=450x338&vertical=center',
+ imgUrl: 'https://www.minio.aida.com.hk:9000/aida-results/result_eabc59d4-110a-11ef-bb36-0242ac160002.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=admin%2F20240514%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240514T093050Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=64f2098d15a2ebf5883946c472bbeecaed1a443c618e1f15d92f44b97cb63542',
name:'aaa',
lookNum:'213',
likeNum:'123',
@@ -278,15 +287,15 @@ export default defineComponent({
.page_content_item{
display: flex;
flex-direction: column;
- margin-right: 3rem;
- margin-bottom: 3rem;
+ margin-right: 4rem;
+ margin-bottom: 4rem;
}
.page_content_item_text,.page_content_item_img{
display: flex;
}
.page_content_item_img{
- width: 25rem;
- height: 25rem;
+ width: 30rem;
+ height: 30rem;
overflow: hidden;
justify-content: center;
border-radius: 2rem;
@@ -328,11 +337,18 @@ export default defineComponent({
display: flex;
align-items: center;
justify-content: flex-end;
- >svg{
- width: 2rem;
- height: 2rem;
- margin-right: .5rem;
- margin-left: 1rem;
+ >div{
+ display: flex;
+ align-items: center;
+ font-size: 2rem;
+ margin-right: 1rem;
+ i{
+ display: flex;
+ font-size: 2rem;
+ }
+ span{
+ margin-left: calc(var(--padding) / 2);
+ }
}
}
}
diff --git a/src/views/HomeView/history.vue b/src/views/HomeView/history.vue
index 805d4933..ac8876d6 100644
--- a/src/views/HomeView/history.vue
+++ b/src/views/HomeView/history.vue
@@ -69,6 +69,8 @@
{{ $t('HistoryPage.Detail') }}
{{ $t('LibraryPage.Rename') }}
{{ $t('HistoryPage.Retrieve') }}
+
{{ $t('HistoryPage.Delete') }}
@@ -78,7 +80,7 @@
-
+
@@ -100,6 +102,7 @@ import { ElCascader } from 'element-plus'
import { useI18n } from 'vue-i18n';
import setLabel from '@/component/LibraryPage/setLabel.vue';
import searchLabel from '@/component/LibraryPage/searchLabel.vue';
+import publish from "@/component/WorksPage/publish.vue";
export default defineComponent({
components: {
@@ -108,7 +111,8 @@ export default defineComponent({
// RobotAssist,
setLabel,
ElCascader,
- searchLabel
+ searchLabel,
+ publish
},
setup() {
let rangePickerValue:any = ref([])
@@ -121,13 +125,13 @@ export default defineComponent({
let time = formatTime(record.text / 1000, 'YYYY-MM-DD hh:mm:ss')
return time
}},
- { title: useI18n().t('HistoryPage.SketchCounts'), align:'center', ellipsis: true, width: 150, dataIndex: 'sketchCount', key: 'sketchCounts' },
+ { title: useI18n().t('HistoryPage.SketchCounts'), align:'center', ellipsis: true, width: 80, dataIndex: 'sketchCount', key: 'sketchCounts' },
{
title: useI18n().t('HistoryPage.Operations'),
key: 'operation',
align:'center',
fixed: 'right',
- width: 150,
+ width: 180,
// slots:{customRender:'action'}
Operations:true,
},
@@ -322,7 +326,14 @@ export default defineComponent({
this.$router.push({name:'homePage',params: {id:record.id}})
},
+ setPublish(record:any){
+ let publish:any = this.$refs.publish
+ publish.publishMask = true
+ publish.init(record)
+ },
+ updatePublish(record:any){
+ },
removeLabel(){
let setLabel:any = this.$refs.setLabel
let cascader:any = this.$refs.cascader
diff --git a/src/views/HomeView/library.vue b/src/views/HomeView/library.vue
index 1f06b2ad..8fbd2097 100644
--- a/src/views/HomeView/library.vue
+++ b/src/views/HomeView/library.vue
@@ -305,7 +305,7 @@