19 lines
381 B
Plaintext
19 lines
381 B
Plaintext
import { defineStore } from 'pinia'
|
|
|
|
|
|
|
|
|
|
export const noticeld = defineStore('article', () => {
|
|
const article = ref({
|
|
noticeld:'',
|
|
cate:'',
|
|
reviewSource:''
|
|
})
|
|
|
|
function setArticle(data: { noticeld: string,cate:string,reviewSource:string }){
|
|
article.value = data
|
|
}
|
|
|
|
return { article,setArticle }
|
|
|
|
}) |