Commit bc2e3234 authored by Mac's avatar Mac

公告

parent ca0c82cc
......@@ -12,7 +12,7 @@ export default {
<style>
@import url('~assets/css/font.css');
@import url('//at.alicdn.com/t/font_2077629_32amtmfykbo.css');
@import url('//at.alicdn.com/t/font_2077629_09k3sy1cwrk.css');
html,
body,
......
......@@ -63,3 +63,26 @@ export function setNoticeOperation(data) {
data
});
}
/**
* 公告操作
*/
export function setNoticeInfo(data) {
return request({
url: '/UserCenter/SetNoticeInfo',
method: 'post',
data
});
}
/**
* 公告详情
*/
export function getNoticeInfo(data) {
return request({
url: '/UserCenter/GetNoticeInfo',
method: 'post',
data
});
}
......@@ -128,7 +128,8 @@
var resultStr = "";
if (this.resultObj && this.resultObj.length > 0) {
if (this.multiple) {
resultStr = this.resultObj.toString();
let newarr = Array.from(new Set(this.resultObj))//数组去重
resultStr = newarr.toString();
} else {
resultStr = this.resultObj[0];
}
......
This diff is collapsed.
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