Browse Source

是否加密控制适配

master
kola-web 4 months ago
parent
commit
c1a2bd3477
  1. 4
      src/pages/article/index.ts

4
src/pages/article/index.ts

@ -68,7 +68,9 @@ Page({ @@ -68,7 +68,9 @@ Page({
showMsg: false,
})
.then((res) => {
res.chapter.Content = decryptData(res.chapter.Content);
if (res.chapter.content_encrypt === 1) {
res.chapter.Content = decryptData(res.chapter.Content);
}
this.setData({
book: {
...res.book,

Loading…
Cancel
Save