|
@@ -14,7 +14,7 @@
|
|
|
</el-col>
|
|
|
<el-col :span="8" class="two_1">
|
|
|
<span>发布时间:</span>
|
|
|
- {{ info.time || '暂无' }}
|
|
|
+ {{ moment(info.time).format('YYYY-MM-DD') }}
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="thr">
|
|
@@ -27,6 +27,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
+import moment from 'moment'
|
|
|
// 接口
|
|
|
import { NewsStore } from '@/store/api/platform/news'
|
|
|
const store = NewsStore()
|