提交 d19a2b5a 编写于 作者: zhujiamin's avatar zhujiamin

debug notice传参问题 --fix1

上级 ede9e4b3
......@@ -218,7 +218,7 @@ export default class AppRoundList extends Vue{
* @memberof AppSearchHistory
*/
public async clearHistory(){
const result = await this.$notice.confirm('提醒','是否清除搜索历史?',this.$store);
const result = await this.$notice.confirm('提醒','是否清除搜索历史?');
if (result) {
this.historyList = [];
this.historyLists.historyList = [];
......
......@@ -166,7 +166,7 @@ export default class AppSetting extends Vue {
public async logout() {
const title: any = this.$t("app.tabpage.sureclosetip.title");
const contant: any = this.$t("app.tabpage.sureclosetip.content");
const result = await this.$notice.confirm(title, "确认退出当前账号?", this.$store);
const result = await this.$notice.confirm(title, "确认退出当前账号?");
if (result) {
if (this.thirdPartyName) {
this.$viewTool.ThirdPartyClose();
......@@ -203,7 +203,7 @@ export default class AppSetting extends Vue {
* 清除缓存
*/
public async clear() {
const result = await this.$notice.confirm("清除缓存", "清除缓存可能会导致当前登录信息失效!!!", this.$store);
const result = await this.$notice.confirm("清除缓存", "清除缓存可能会导致当前登录信息失效!!!");
if (result) {
localStorage.clear();
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册